Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Where does Myth Backend Setup get its channel list?

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


Douglas_Peale at comcast

Jul 17, 2010, 1:56 PM

Post #1 of 10 (705 views)
Permalink
Where does Myth Backend Setup get its channel list?

Where does the channel search for Myth Backend Setup get its channel list?
Both "Cable" and "Cable High" have been corrupted on my system since I upgraded to the nightly build of 0.24 several months ago.
I have posted this before but got no response, so I'd like to see if I can fix the problem myself.

Is this data in a separate data file? or is it hard coded? If so what is the source file?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


nick.rout at gmail

Jul 18, 2010, 12:55 AM

Post #2 of 10 (667 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

On Sun, Jul 18, 2010 at 8:56 AM, Douglas Peale
<Douglas_Peale [at] comcast> wrote:
> Where does the channel search for Myth Backend Setup get its channel list?
> Both "Cable" and "Cable High" have been corrupted on my system since I upgraded to the nightly build of 0.24 several months ago.
> I have posted this before but got no response, so I'd like to see if I can fix the problem myself.
>
> Is this data in a separate data file? or is it hard coded? If so what is the source file?

I believe from one of two places:

1. schedules direct; or

2. Scanning the ether and reporting what's there.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Douglas_Peale at comcast

Jul 18, 2010, 11:09 AM

Post #3 of 10 (641 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

On 07/18/2010 12:55 AM, Nick Rout wrote:
> On Sun, Jul 18, 2010 at 8:56 AM, Douglas Peale
> <Douglas_Peale [at] comcast> wrote:
>> Where does the channel search for Myth Backend Setup get its channel list?
>> Both "Cable" and "Cable High" have been corrupted on my system since I upgraded to the nightly build of 0.24 several months ago.
>> I have posted this before but got no response, so I'd like to see if I can fix the problem myself.
>>
>> Is this data in a separate data file? or is it hard coded? If so what is the source file?
>
> I believe from one of two places:
>
> 1. schedules direct; or
>
> 2. Scanning the ether and reporting what's there.

Scanning the ether is exactly what is broken right now.

Looks like I did not make myself clear enough.

It is not the list of my channels that is corrupted, it is the list of channel numbers and channel frequencies that channel scan
uses to scan for channels that is broken.

For instance: If I choose to scan for channels and choose "Cable" the list of channels to scan contains only channels 2 through
83. It is not possible to choose channels above 83 to scan. Also if I choose "cable" the stop channel drop down menu starts out
empty instead of showing the highest possible channel like it does for all other selections.
If I choose "Cable High", it shows channel number 78 as the start and 159 for the end, but if I look at the actual list of
channels in the drop down boxes, channels 95, 96, 97, 98, and 99 are missing, so there is no possible way to scan those channels

Given that neither the channel editor, nor mythweb will allow access to (or even show) the subchannel, it is now impossible for
me to add channel 95 which comcast in their endless game of musical channels added about a month ago.

So, if someone would give me a clue where the channel frequency table is that MythBackendSetup uses to scan for channels, I
would very much appreciate it.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Douglas_Peale at comcast

Jul 21, 2010, 4:01 PM

Post #4 of 10 (610 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

On 07/18/2010 11:09 AM, Douglas Peale wrote:
> On 07/18/2010 12:55 AM, Nick Rout wrote:
>> On Sun, Jul 18, 2010 at 8:56 AM, Douglas Peale
>> <Douglas_Peale [at] comcast> wrote:
>>> Where does the channel search for Myth Backend Setup get its channel list?
>>> Both "Cable" and "Cable High" have been corrupted on my system since I upgraded to the nightly build of 0.24 several months ago.
>>> I have posted this before but got no response, so I'd like to see if I can fix the problem myself.
>>>
>>> Is this data in a separate data file? or is it hard coded? If so what is the source file?
>>
>> I believe from one of two places:
>>
>> 1. schedules direct; or
>>
>> 2. Scanning the ether and reporting what's there.
>
> Scanning the ether is exactly what is broken right now.
>
> Looks like I did not make myself clear enough.
>
> It is not the list of my channels that is corrupted, it is the list of channel numbers and channel frequencies that channel scan
> uses to scan for channels that is broken.
>
> For instance: If I choose to scan for channels and choose "Cable" the list of channels to scan contains only channels 2 through
> 83. It is not possible to choose channels above 83 to scan. Also if I choose "cable" the stop channel drop down menu starts out
> empty instead of showing the highest possible channel like it does for all other selections.
> If I choose "Cable High", it shows channel number 78 as the start and 159 for the end, but if I look at the actual list of
> channels in the drop down boxes, channels 95, 96, 97, 98, and 99 are missing, so there is no possible way to scan those channels
>
> Given that neither the channel editor, nor mythweb will allow access to (or even show) the subchannel, it is now impossible for
> me to add channel 95 which comcast in their endless game of musical channels added about a month ago.
>
> So, if someone would give me a clue where the channel frequency table is that MythBackendSetup uses to scan for channels, I
> would very much appreciate it.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I could really use an answer to this question. Comcast just added 12 subchannels to channel 99, and because of this bug I can
not add them to my lineup.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Douglas_Peale at comcast

Jul 22, 2010, 8:37 PM

Post #5 of 10 (598 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

On 07/21/2010 04:01 PM, Douglas Peale wrote:

>
> I could really use an answer to this question. Comcast just added 12 subchannels to channel 99, and because of this bug I can
> not add them to my lineup.


I just spent several hours looking through the source code attempting to find where the listbox for the stop channel on the
channel scan was set up. I did not find it.

It is difficult to find anything when one can't search on the strings used in the labels, listboxes, or help text since these
are all built up of substrings that are used everywhere. (searching for "QAM-256 Channel 2" will find nothing searching for
"QAM-256" or "Channel" will find way too much.)

I did find the channel frequency tables. Well, actually two of them. One was just an array of names and frequencies, another
appeared to be algorithmically generated. So those tables are hard coded in the source and not in an external file.
I'm pretty sure the bug lies in the GUI code if I could ever find that code to look at it.

It does not help that I am not familiar with C++, only C.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


myrdhn at gmail

Jul 22, 2010, 9:07 PM

Post #6 of 10 (593 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

-----Original Message-----
From: mythtv-users-bounces [at] mythtv
[mailto:mythtv-users-bounces [at] mythtv] On Behalf Of Douglas Peale
Sent: Thursday, July 22, 2010 11:38 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] Where does Myth Backend Setup get its channel
list?

On 07/21/2010 04:01 PM, Douglas Peale wrote:

>
> I could really use an answer to this question. Comcast just added 12
subchannels to channel 99, and because of this bug I can
> not add them to my lineup.


I just spent several hours looking through the source code attempting to
find where the listbox for the stop channel on the
channel scan was set up. I did not find it.

It is difficult to find anything when one can't search on the strings used
in the labels, listboxes, or help text since these
are all built up of substrings that are used everywhere. (searching for
"QAM-256 Channel 2" will find nothing searching for
"QAM-256" or "Channel" will find way too much.)

I did find the channel frequency tables. Well, actually two of them. One was
just an array of names and frequencies, another
appeared to be algorithmically generated. So those tables are hard coded in
the source and not in an external file.
I'm pretty sure the bug lies in the GUI code if I could ever find that code
to look at it.

It does not help that I am not familiar with C++, only C.
_______________________________________________

Well, since you said you are a Comcast customer why not use
http://www.mythtv.org/wiki/Scte65scan

MarcT

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Douglas_Peale at comcast

Jul 22, 2010, 11:47 PM

Post #7 of 10 (594 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

On 07/22/2010 09:07 PM, MarcT wrote:
>
> Well, since you said you are a Comcast customer why not use
> http://www.mythtv.org/wiki/Scte65scan
>
> MarcT
>

I do use that tool, but not for channel scans. I use it to extract the call signs, channel ID's and subchannel ID's so I can
untangle the mess that a full channel scan makes.

But that tool does not scan all of the channels, it only gives you the ones that they send to the cheap SD set top boxes, none
of the HD channels, and none of the channels they are giving by accident. Also since I am on limited basic, it says I have all
the extended basic channels that I don't, the ones that are killed by the filter in the line, and the ones that are encrypted by
the cheap encryption handled by the cheap SD set top box.

I also can not use that since I have 5 different channel lists. I have 5 tuners, one on an antenna aimed northwest, one on an
antenna aimed south, and the other three on cable. But one of the three on cable is a ATI HDTV Wonder, so it has to have a
separate channel list from the HDHome Runs. If you are keeping count, I have only accounted for 4 of the channel lists, the
fifth channel list is for the analog part of the ATI HDTV Wonder that I have never gotten to work.

My vague understanding of that long complicated set of instructions for scte65scan makes me believe that method for using
scte65scan for automatically updating the channel list only works for HDHomeRun tuners, and then only if there is only one
channel list. Given that it usually takes a full day to untangle the mess that a full channel scan makes of the channel list,
and the fact that the channel editor for mythweb is borked right now, I do not feel like risking the several hundred correctly
set up channels I now have by attempting to do an automated scan with scte65scan.

Now, if I can figure out what is borked with the mythbackendsetup channel scan and get that fixed, I can do a scan from channel
95 to channel 95, and a scan from channel 99 to channel 99 and have just the channels that need it added to my channel list, and
then I only have to edit 26 channels (one sub channel for channel 95, 12 sub channels for 99, and do this for both tuner types).

Besides, I thought attempting to fix a bug was a good idea.


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


steve.p.daniels at googlemail

Jul 23, 2010, 3:18 AM

Post #8 of 10 (603 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

On 23 July 2010 07:47, Douglas Peale <Douglas_Peale [at] comcast> wrote:

> Now, if I can figure out what is borked with the mythbackendsetup channel scan and get that fixed, I can do a scan from channel
> 95 to channel 95, and a scan from channel 99 to channel 99 and have just the channels that need it added to my channel list, and
> then I only have to edit 26 channels (one sub channel for channel 95, 12 sub channels for 99, and do this for both tuner types).
>
> Besides, I thought attempting to fix a bug was a good idea.

No offence, but you don't half sound narky.

Anywho, I downloaded .23-fixes and did a quick grep of the source, all
I could see was frequencytables.cpp

Looks like it's still in trunk
http://svn.mythtv.org/trac/browser/trunk/mythtv/libs/libmythtv/frequencytables.cpp
and it also mentions cablehigh

Steve
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


myrdhn at gmail

Jul 23, 2010, 4:56 AM

Post #9 of 10 (585 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

I do use that tool, but not for channel scans. I use it to extract the call
signs, channel ID's and subchannel ID's so I can
untangle the mess that a full channel scan makes.

But that tool does not scan all of the channels, it only gives you the ones
that they send to the cheap SD set top boxes, none
of the HD channels, and none of the channels they are giving by accident.
Also since I am on limited basic, it says I have all
the extended basic channels that I don't, the ones that are killed by the
filter in the line, and the ones that are encrypted by
the cheap encryption handled by the cheap SD set top box.

I also can not use that since I have 5 different channel lists. I have 5
tuners, one on an antenna aimed northwest, one on an
antenna aimed south, and the other three on cable. But one of the three on
cable is a ATI HDTV Wonder, so it has to have a
separate channel list from the HDHome Runs. If you are keeping count, I have
only accounted for 4 of the channel lists, the
fifth channel list is for the analog part of the ATI HDTV Wonder that I have
never gotten to work.

My vague understanding of that long complicated set of instructions for
scte65scan makes me believe that method for using
scte65scan for automatically updating the channel list only works for
HDHomeRun tuners, and then only if there is only one
channel list. Given that it usually takes a full day to untangle the mess
that a full channel scan makes of the channel list,
and the fact that the channel editor for mythweb is borked right now, I do
not feel like risking the several hundred correctly
set up channels I now have by attempting to do an automated scan with
scte65scan.

Now, if I can figure out what is borked with the mythbackendsetup channel
scan and get that fixed, I can do a scan from channel
95 to channel 95, and a scan from channel 99 to channel 99 and have just the
channels that need it added to my channel list, and
then I only have to edit 26 channels (one sub channel for channel 95, 12 sub
channels for 99, and do this for both tuner types).

Besides, I thought attempting to fix a bug was a good idea.

_______________________________________________

Fixing bugs is good, but you should submit a bug if it is one.
Personally I have never used the channel scanner because it never identified
everything for me. And that's not because channels were missing but because
it would find the channels and then do 88-3, 88-4, etc..
I forgot the tool only identifies the lower channels. Sometime last year I
used it identified them and their frequencies, multiplexes, etc, which they
have now encrypted so I deleted most of them.
As for the higher channels that turn into 200 - 900 on the cable box, I
identified them all using external tools and manually added them to the
database.

I know, it doesn't help you.

MarcT

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Douglas_Peale at comcast

Jul 23, 2010, 10:24 AM

Post #10 of 10 (578 views)
Permalink
Re: Where does Myth Backend Setup get its channel list? [In reply to]

On 07/23/2010 03:18 AM, Steve Daniels wrote:
> On 23 July 2010 07:47, Douglas Peale <Douglas_Peale [at] comcast> wrote:
>
>> Now, if I can figure out what is borked with the mythbackendsetup channel scan and get that fixed, I can do a scan from channel
>> 95 to channel 95, and a scan from channel 99 to channel 99 and have just the channels that need it added to my channel list, and
>> then I only have to edit 26 channels (one sub channel for channel 95, 12 sub channels for 99, and do this for both tuner types).
>>
>> Besides, I thought attempting to fix a bug was a good idea.
>
> No offence, but you don't half sound narky.

Perhaps a side effect of being extremely frustrated by this.

>
> Anywho, I downloaded .23-fixes and did a quick grep of the source, all
> I could see was frequencytables.cpp
>
> Looks like it's still in trunk
> http://svn.mythtv.org/trac/browser/trunk/mythtv/libs/libmythtv/frequencytables.cpp
> and it also mentions cablehigh
>
> Steve

The menu selection was "Cable High", so that is what I searched on and found nothing.

frequencytables.cpp is the file I mentioned above that I found that algorithmically generated the frequency table, the other was
frequencies.c

Unfortunately, neither of these have anything to do with setting up the broken list box in the GUI

This may all be moot since the latest update to mythTV seems to have borked my system. it is now trying to set up my database
from scratch, the forward button does nothing, and I can't kill the process. I need to reboot now...
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.