[mythtv-users] Moving to Atlas for UK XMLTV

Mike Bibbings mike.bibbings at gmail.com
Sat Dec 20 20:10:50 UTC 2014


On 20/12/14 13:23, Martin Moores wrote:
> Hi all,
>
> Always deciding just before Christmas is the best time to do things, I 
> thought I would do a re-scan and try and move over to the new Atlas 
> source for guide data.
>
> I don't seem to be getting very far unfortunately, mythfilldatabase 
> fails with:
>
> 2014-12-20 12:57:24.771291 I  No programs found in data.
>
> Full log - http://pastebin.com/4bwu8LS4
>
> What I have done:
>
> 1 - Renamed .xmltv directories in home directories and old xmltv file, 
> so nothing potentially clashing remained
> 2 - Changed the grabber in video sources in backend setup, ran through 
> configure etc.
> 3 - Manually ran "mythfilldatabase" command, getting the above output.
>
> One thing I did notice about Atlas was that there are no XMLTV URLs in 
> my /home/user/.mythtv/Freeview T1 SD.xmltv, just:
>
> channel=cbbs
> channel=cbd2
> channel=cbbq
>
> Whereas with Radio Times is was:
>
> channel=hd.bbc1.bbc.co.uk <http://hd.bbc1.bbc.co.uk>
> channel=freeview.hd.channel4.com <http://freeview.hd.channel4.com>
>
> etc
>
> Just the way the grabber works I guess.
>
> I have also tried running with "--max-days 13", which I have read is 
> required with Atlas, but no joy.
>
> Running with "--max-days 13 -v all" shows this:
>
> 2014-12-20 13:15:46.323246 N  Data is already present for Sat Dec 20 
> 2014, skipping
> 2014-12-20 13:15:46.323255 I
> 2014-12-20 13:15:46.323259 I  Checking day @ offset 1, date: Sun Dec 
> 21 2014
> 2014-12-20 13:15:46.323261 I  Data Refresh always needed for tomorrow
> 2014-12-20 13:15:46.323263 N  Refreshing data for Sun Dec 21 2014
> 2014-12-20 13:15:46.323621 I  XMLTV config file is: 
> /home/user/.mythtv/Freeview T1 SD.xmltv
> 2014-12-20 13:15:46.325069 I  Grabber Command: nice tv_grab_uk_atlas 
> --config-file '/home/user/.mythtv/Freeview T1 SD.xmltv' --output 
> /tmp/myth4nzcf1 --days 1 --offset 1
> 2014-12-20 13:15:46.325072 I  ----------------- Start of XMLTV output 
> -----------------
> 2014-12-20 13:15:46.325530 I  Managed child (PID: 12796) has started! 
> * command=nice tv_grab_uk_atlas --config-file 
> '/home/user/.mythtv/Freeview T1 SD.xmltv' --output /tmp/myth4nzcf1 
> --days 1 --offset 1, timeout=0
> 2014-12-20 13:15:46.325546 I  (0x19632a0)::IncrRef() -> 2
> 2014-12-20 13:15:54.820853 I  Managed child (PID: 12796) has exited! 
> command=nice tv_grab_uk_atlas --config-file 
> '/home/user/.mythtv/Freeview T1 SD.xmltv' --output /tmp/myth4nzcf1 
> --days 1 --offset 1, status=0, result=0
> 2014-12-20 13:15:54.828099 I  (0x19632a0)::DecrRef() -> 1
> 2014-12-20 13:15:54.828117 I  (0x19632a0)::DecrRef() -> 0
> 2014-12-20 13:15:54.828139 I  ------------------ End of XMLTV output 
> ------------------
>
> Full log - http://pastebin.com/Z6iz8ehc
>
> Note all the commands are running with "--days 1", is that right?
>
> Appreciate if anyone can shed any light on this.
>
> Thanks
>
> Martin
>
>
Suggest you run tv_grab_uk_atlas grabber manually in a terminal to check 
it works first e.g.

tv_grab_uk_atlas --config-file  <your config file>  --hours 1 > grab.log

If you see any errors in the  terminal window e.g.

     Fetching listings:   0% 
[                                                      ]Status: 500 
Server Error (An internal server error occurred)

This indicates a problem with the metabroadcast Atlas API key


For the number of days, atlas is up to 14 at present, suggest you put 
"--refresh 0-99" in mythfilldatabase arguments using mythtv-setup. This 
allows mythfilldatabase to keep requesting data until no more is available.

The channel=cbbs items are correct, there is a mapping file in your 
.xmltv/supplement/tv_grab_uk_atlas directory ( 
tv_grab_uk_atlas.map.channels.conf)

Mike
<http://hd.bbc1.bbc.co.uk>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141220/9a25afda/attachment.html>


More information about the mythtv-users mailing list