public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Roger <rogerx.oss@gmail.com>
To: unlisted-recipients:; (no To-header on input)@canuck.infradead.org
Cc: linux-media@vger.kernel.org
Subject: Re: dvbscan output Channel Number into final stdout?
Date: Fri, 30 Sep 2011 00:06:09 -0800	[thread overview]
Message-ID: <20110930080609.GD2284@localhost2.local> (raw)
In-Reply-To: <4e856d27.92d1e30a.6587.13f8@mx.google.com>

> On Fri, Sep 30, 2011 at 08:17:53AM +0100, tvboxspy wrote:
>On Thu, 2011-09-29 at 14:44 -0800, Roger wrote:
>> Can we get dvbscan to output the Channel Number into the final stdout somehow?
>> 
>> A likely format would be something such as the following.
>> 
>> Current output:
>> 
>> KATN-DT:497028615:8VSB:49:52:3
>> KWFA-DT:497028615:8VSB:65:68:4
>> ...
>> 
>> 
>> Suggested output:
>> 2.1:497028615:8VSB:49:52:3
>> 2.2:497028615:8VSB:65:68:4
>> ...
>> 
>> The reason for this, the local ATSC broadcast over the air channels are not
>> assigning unique channel names.  However, channel numbers seem to be consistent
>> between the published TV Guide/TV Listings and are unique!  This seems to be
>> the norm for the past several years now.
>> 
>Trouble is, internationally channel numbering is regional, and has
>variations in many countries.
>
>Not to show the channel name would confuse users, but to show both with
>the number first in a string might be an idea.

True.  However we're talking an additional option to output, the already
gotten, channel numbers instead of channel names into the final output.

We're not talking standard here.  We are talking an additional option to make
it easier for scripting and updating the channel.conf file.  Channel names here
have changed many times over the past year.  Channel names are also duplicated
instead of being assigned a unique name.  However, channel numbers have stayed
somewhat more stable, noting only one or two changes over the past year.  And,
channel numbers have always been more commonly referred to when changing the
channel on the TV. (ie. Hey, lets watch channel 11 news!  We usually don't
hear, "Hey, lets watch NBC news.")


(On the flip to chew the fat here, from a local perspective, most things are
done by channel number and not channel name.  It all depends on your point of
view! ;-)


Anyways, since I know the information (channel num) is already already gotten
and ditched, I'm thinking it won't be too much more code to assign it a
variable and print instead of channel name.

Another idea, I might have been able to code my script to map to regular
channel numbers.  However, updating the channel.conf using dvbscan will then
break things, causing me to finger through manually to figure out which channel
name is which number.

Maybe I should output my full channel.conf here, as it might help show the
problem better:

[0001]:213028615:8VSB:65:68:1
KATN-DT:497028615:8VSB:49:52:3
KWFA-DT:497028615:8VSB:65:68:4
KJNP-DT:509028615:8VSB:49:52:3
KFXF-DTC:177028615:8VSB:49:52:3
K13XD-DC:177028615:8VSB:65:68:4
KUAC-DTC:189028615:8VSB:49:52:3
KUAC-DTC:189028615:8VSB:65:68:4
KUAC-DT:189028615:8VSB:81:84:5
KUAC-DT:189028616:8VSB:97:100:6
KTVF DT:545028615:8VSB:65:68:4
KTVF DT:545028615:8VSB:49:52:3
K13XD-D:521028615:8VSB:49:52:3
KFXF-DT:521028615:8VSB:65:68:4


Can you tell me which KUAC-DTC is the man channel for my area?  24.1 is the
channel number.  Of the four, there's no real way of telling unless you
memorize the frequency data?


-- 
Roger
http://rogerx.freeshell.org/

  reply	other threads:[~2011-09-30  8:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 22:44 dvbscan output Channel Number into final stdout? Roger
2011-09-30  7:17 ` tvboxspy
2011-09-30  8:06   ` Roger [this message]
2011-09-30 17:34     ` david.hagood
2011-09-30 20:53       ` Roger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110930080609.GD2284@localhost2.local \
    --to=rogerx.oss@gmail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox