[mythtv-users] UK: tv_grab_uk_atlas swap over fail!

Paul Gardiner lists at glidos.net
Wed Oct 1 05:44:05 UTC 2014


On 01/10/2014 06:31, Paul Gardiner wrote:
> On 01/10/2014 06:27, Paul Gardiner wrote:
>> On 30/09/2014 18:53, Mike Bibbings wrote:
>>> On 30/09/14 17:37, Paul Gardiner wrote:
>>>> On 30/09/2014 13:30, Paul Gardiner wrote:
>>>>> On 30/09/2014 13:14, Paul Gardiner wrote:
>>>>>> On 30/09/2014 12:26, Paul Harrison wrote:
>>>>>>>
>>>>>>> On 30 Sep 2014 11:45, "Paul Gardiner" <lists at glidos.net
>>>>>>> <mailto:lists at glidos.net>> wrote:
>>>>>>>  >
>>>>>>>  > I thought it was time I got around to swapping over from
>>>>>>> tv_grab_uk_rt
>>>>>>>  > to tv_grab_uk_atlas. All seemed to go well, nice easy set up,
>>>>>>> except
>>>>>>>  > it doesn't work :-( and I cannot figure what I've done wrong.
>>>>>>>  >
>>>>>>>  > I registered and obtained an API key, and ran
>>>>>>>  >
>>>>>>>  >  tv_grab_uk_atlas --configure
>>>>>>>  >
>>>>>>>  > That produced $HOME/.xmltv/tv_grab_uk_atlas.conf with the new
>>>>>>>  > mysterious four letter channel ids.
>>>>>>>  >
>>>>>>>  > After that, running
>>>>>>>  >
>>>>>>>  >  tv_grab_uk_atlas --quiet
>>>>>>>  >
>>>>>>>  > seems to download the channel info. It also seems to pull down
>>>>>>>  > the file
>>>>>>> .xmltv/supplement/tv_grab_uk_atlas/tv_grab_uk_atlas.map.channel.conf
>>>>>>>  > so that it can translate the four letter ids to something like
>>>>>>>  > the old ones, and the downloaded channel data does seem to
>>>>>>> mention
>>>>>>>  > old style ids. I noticed that some of these were slightly
>>>>>>> different:
>>>>>>>  > e.g., channel4.co.uk <http://channel4.co.uk> is now channel4.com
>>>>>>> <http://channel4.com>, so I updated my mythconverg
>>>>>>>  > channels table with the new values.
>>>>>>>  >
>>>>>>>  > I then use the script below to fetch:
>>>>>>>  >
>>>>>>>  > #!/bin/bash
>>>>>>>  >
>>>>>>>  > TEMPFILE=/tmp/mythfill$$
>>>>>>>  > tv_grab_uk_atlas --quiet > $TEMPFILE
>>>>>>>  > mythfilldatabase --update --file --sourceid 1 --xmlfile $TEMPFILE
>>>>>>>  > mythfilldatabase --update --file --sourceid 2 --xmlfile $TEMPFILE
>>>>>>>  > mythfilldatabase --update --file --sourceid 3 --xmlfile $TEMPFILE
>>>>>>>  > rm $TEMPFILE
>>>>>>>  >
>>>>>>>  > but I get no new data and I have only 11 days worth, which I
>>>>>>> assume
>>>>>>>  > is from the last successful tv_grab_uk_rt fetch.
>>>>>>>  >
>>>>>>>  > I see in the output loads of
>>>>>>>  >
>>>>>>>  > "Unknown xmltv channel identifier:" even from ones that are
>>>>>>> clearly
>>>>>>>  > in myth's channel table. What am I doing wrong? Is there
>>>>>>> somewhere
>>>>>>>  > else myth keeps a list of these channels and checks against them?
>>>>>>>  > I no longer have a Freeview.xmltv file, but I assume that file's
>>>>>>>  > job is taken over by tv_grab_uk_atlas.conf.
>>>>>>>  >
>>>>>>>  > Very confused.
>>>>>>>  >
>>>>>>>  > Cheers,
>>>>>>>  >         Paul.
>>>>>>>
>>>>>>> I think you will have to rename tv_grab_uk_atlas.conf to
>>>>>>> Freeview.xmltv
>>>>>>> for Myth to find it.  I assume Freeview is the name you gave to the
>>>>>>> source in Myth.
>>>>>>
>>>>>> That's certainly worth a try. But then if that works what would be
>>>>>> strange is that either my old or new setup worked because I have
>>>>>> three sources all with different names, but I've had only the one
>>>>>> .xmltv file in .mythtv.
>>>>>>
>>>>>> Trying it in any case.
>>>>>
>>>>> No luck. I tried using tv_grab_uk_atlas.conf as a new Freeview.xmltv
>>>>> (although I couldn't really see how mythtv could make use the new
>>>>> four-letter codes it contains) and I tried using my old Freeview.xmltv
>>>>> file. No luck in either case :-(
>>>>
>>>> Actually, maybe this is working. Is atlas 7 days or 14 days? The main
>>>> reason I've been thinking it was failing was because my number of days
>>>> of guide data has been stuck on 11. Looking again at the "Unknown id"
>>>> errors, it's only reporting the ones that aren't in that particular
>>>> source.
>>>>
>>>
>>> You can check how much data you have in either mythfrontend (System
>>> Status)  or Mythweb  (Backend Status)
>>
>> Yeah, that's the problem. I was seeing 11 days yesterday - today
>> 10. On the other hand, mythfilldatabase just reported
>>
>>   Updated programs: 1755 Unchanged programs: 7426
>>
>> so it's working to some degree. Still confused.
>
> I think I missed a bit on the atlas key set up. I hadn't requested any
> sources. Just trying that now.

Nope. In the atlas set up for my key, I had PA (whatever that is). I've
now added UK Channel Lineups, rerun mithfilldatabase, but still I have
10 days of listings. :-(

P.


More information about the mythtv-users mailing list