[mythtv] schema for manually adding channels

Torbjorn Jansson torbjorn.jansson at mbox200.swipnet.se
Thu Jan 14 17:37:26 UTC 2016


On 2016-01-14 16:38, Matt Zagrabelny wrote:
> On Thu, Jan 14, 2016 at 8:04 AM, Michael T. Dean
> <mtdean at thirdcontact.com> wrote:
>> On 01/14/2016 08:12 AM, Matt Zagrabelny wrote:
>>>
>>> Hi Mike,
>>>
>>> Thanks for the reply!
>>>
>>> On Thu, Jan 14, 2016 at 6:39 AM, Michael T. Dean
>>> <mtdean at thirdcontact.com> wrote:
>>>>
>>>> On 01/13/2016 05:37 PM, Matt Zagrabelny wrote:
>>>>>
>>>>> Greetings,
>>>>>
>>>>> I've grepped the -dev archives and didn't find an answer to the question
>>>>> of:
>>>>>
>>>>> What tables do I need to add records to in order to manually add an
>>>>> ATSC DTV channel?
>>>>>
>>>>> It looks like: channel and dtv_multiplex. Any other tables?
>>>>>
>>>>> I have a channels.conf file that works with mplayer:
>>>>>
>>>>> 3.1:587000000:8VSB:49:52:1
>>>>> 3.2:587000000:8VSB:65:68:2
>>>>> 6.1:503000000:8VSB:49:52:1
>>>>> 6.2:503000000:8VSB:65:68:2
>>>>> 8.1:183000000:8VSB:49:52:1
>>>>> 8.2:183000000:8VSB:65:68:2
>>>>> 8.3:183000000:8VSB:81:84:3
>>>>> 8.4:183000000:8VSB:97:100:4
>>>>> 10.1:195000000:8VSB:49:52:3
>>>>> 10.2:195000000:8VSB:81:84:5
>>>>> 21.1:491000000:8VSB:49:52:3
>>>>>
>>>>> Any hints about manually adding channels will be much appreciated.
>>>>>
>>>>> Thanks!
>>>>
>>>>
>>>> Digital channels, especially, really need to be scanned using
>>>> mythtv-setup's
>>>> channel scanner.  We don't support importing channels.conf anymore
>>>> because
>>>> there are many formats used by different channels.conf files and--more
>>>> importantly--channels.conf doesn't contain all the information MythTV
>>>> needs
>>>> for its channels.
>>>>
>>>> So, why not just scan with MythTV's channel scanner?
>>>
>>> Using the scan for channels feature of mythtv-setup doesn't find the
>>> channels. Originally after installing Myth, the scan didn't find *any*
>>> channels - that was a few weeks/months ago. I just reran the scan
>>> about a week ago and it found *one* channel - with four subchannels:
>>> 8.1 - 8.4.
>>>
>>> The issue doesn't seem to be unique to myth either. I have run a
>>> separate scan utility:
>>>
>>> w_scan -A1 -X -c US -fa -t3
>>>
>>> and it doesn't find all the channels, but it did find more than the
>>> myth scan did.
>>>
>>> I have a friend who lives on the other side of town and his w_scan
>>> found all the channels. I've used that channels.conf file with mplayer
>>> and verified that all of the channels in it "work".
>>>
>>> Any ideas of where to proceed from here?
>>>
>>> Thanks for the help!
>>
>>
>> Sounds like poor signal issues coupled with too-short tuning and/or signal
>> timeouts.  Try increasing (possibly significantly--like to the maximum
>> allowed) the "Signal timeout (ms)" and "Tuning timeout (ms)" in Capture Card
>> setup, then "Delete all Video Sources", then reconfigure your video sources
>> and redo your channel scan.
>
> Thanks for the advice, Mike. I upped the timeouts to 15 seconds, I
> could have kept increasing it, but I didn't want the scan to take all
> day.
>
> The scan got almost all the channels - there is one channel left. So
> either I need to rescan with a timeout longer than 15 seconds or
> manually insert that last channel.
>
> What do you think?
>
> -m


based on your config file you sent in the first mail it looks as if you 
already know the needed frequencies, so if your scan missed one you 
should be able to find out which one was missing (i think you can see 
the muxes and frequencies in the scanning dialog, think it was one of 
the dropdowns) and do a manual scan in mythtv-setup of only that 
specific frequency and see if you can get it added.

but, bad signal is always a problem and even if you get the channels found.
you also need to make sure that the timeouts are long enough so mythtv 
can actually tune the channel properly.




More information about the mythtv-dev mailing list