[mythtv-users] Trouble Adding Channel

Mike Perkins mikep at randomtraveller.org.uk
Sun Jan 23 10:10:45 UTC 2022


On 23/01/2022 02:04, DryHeat122 wrote:
> On Sat, Jan 22, 2022, 2:39 PM Mike Perkins <mikep at randomtraveller.org.uk>
> wrote:
> 
>> On 22/01/2022 18:15, DryHeat122 wrote:
>>> On Fri, Jan 21, 2022 at 9:44 PM Stephen Worthington <
>>> stephen_agent at jsw.gen.nz> wrote:
>>>
>>>> On Fri, 21 Jan 2022 21:00:15 -0700, you wrote:
>>>>
>>>>> I have tried to add a channel, TBSHD, 1049 on a cable box connected to
>> my
>>>>> hdpvr but it's not working.
>>>>>
>>>>> In channel editor, I have chanel name TBSHD, channel number 1049,
>> callsign
>>>>> 11996, and service ID 1049. I entered the first two but I'm not sure
>> how
>>>>> the last two got set.
>>>>>
>>>>> This channel is enabled in Schedules Direct (I double checked) and I
>> have
>>>>> run mythfilldatabase after making this change.
>>>>>
>>>>> On the program guide the channel shows up but there are no program
>>>> entries,
>>>>> it just says Unknown (Unknown)
>>>>>
>>>>> How can I fix this?
>>>>
>>>> You need to set the correct xmltvid for the channel, to match what
>>>> Schedules Direct provides.
>>>>
>>>> I've done that, and no help.  Still no entries in the program guide. The
>>> entry I made was I67890.json.schedulesdirect.org  I don't see any errors
>>> regarding that channel in mythfilldatabase output.
>>>
>>> I tried to set everything else based on an example from another working
>>> channel. I still don't know how "service ID" got set. I may have set that
>>> accidentally but I don't know if it matters, or indeed what that setting
>> is
>>> for.  There doesn't seem to be a way to clear it so maybe it got set
>>> automatically after all.
>>>
>> I'm not sure where in the world you are but if you're using an xmltv
>> grabber to fill your schedule,
>> you'll need a corresponding entry in the .xmltv file which the grabber
>> runs. I don't think that just
>> filling in the field in the channel record is enough.
>>
>> --
>>
>> Mike Perkins
> 
> 
> I'm in the US.
> 
> There doesn't seem to be any way to select an item from the xmltv file
> within the channel editor. I looked at the entry for 1048, and duplicated
> that with the channel ID shown in SD website for my lineup. Something is
> obviously not right, tho.
> 
You can't do this from the channel editor. It is a text file somewhere under your .mythtv directory 
with the name corresponding to the name of your source and the extension .xmltv.

Inside you should find some preamble info including your schedulesdirect name and password and then 
a line for each channel of interest (or not).

The channel will have a '=' for a channel you want and a '!' for a channel that should be ignored. 
In addition, channels not in the list will be ignored. So you need to find a line that says:

channel=I67890.json.schedulesdirect.org

If it has a '!' change it to a '='. If it isn't there append a new line to the end.

Note. It is possible that this is not the way it works in the US. I am sure that someone more 
familiar with that option will chime in if so.

-- 

Mike Perkins



More information about the mythtv-users mailing list