[mythtv-users] Moving to Atlas for UK XMLTV

Mike Bibbings mike.bibbings at gmail.com
Sun Dec 21 16:42:38 UTC 2014


On 21/12/14 15:32, Martin Moores wrote:
> On 21 December 2014 at 08:15, Martin Moores <moores.martin at gmail.com 
> <mailto:moores.martin at gmail.com>> wrote:
>
>
>
>     Which I assume is due to those channels not existing in my
>     lineup.  The odd thing is, the list of unknown xmltv channel
>     identifiers is different for each day, like they are picked at
>     random, which would match the oddness of the data I am getting!
>
>     Cheers
>
>     Martin
>
>
> OK, think I can see what is happening.
>
> Running:
>
> tv_grab_uk_atlas --config-file  
> /home/user/.xmltv/tv_grub_uk_atlas/config  --hours 1 --debug
>
> Shows the API call URLs being sent for data, e.g, one of the following 
> for each channel:
>
> http://atlas.metabroadcast.com/3.0/schedule.json?channel_id=cbbs&from=1419169495&to=1419173095&annotations=extended_description,broadcasts,series_summary,brand_summary,people,channel&publisher=pressassociation.com&apiKey=****APIKEYHERE****
>
> Putting this in a browser gives:
>
> {"error":{"message":"An internal server error 
> occurred","error_code":"INTERNAL_ERROR","error_id":"b033a50d-049e-492b-917e-425d51f506bb"}}
>
> About one in five refreshes of that URL, I get a page of data back, 
> which would explain the patchy data I am getting from mythfilldatabase.
>
> Anyone able to test this with their API key?  Would show if it is the 
> service that is broken or my API key that is limited.
>
> I can also get the "server error" when testing on their admin page:
>
> http://atlas.metabroadcast.com/#apiExplorer
>
> Cheers
>
> Martin
>
>
> _______________________________________________
> 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
Martin,

Tested ok with my API key, here is part of the response (too much to put 
all of the response here):

{"schedule":[{"channel_uri":"http://www.bbc.co.uk/services/bbcone/north_west","channel_title":"BBC 
One North 
West","channel_key":"bbcone-north_west","channel":{"publisher":{"key":"metabroadcast.com","name":"UK 
Channel Lineups","country":"ALL"},"title":"BBC One North 
West","image":"http://images.atlas.metabroadcast.com/pressassociation.com/channels/p131610.png","images":[{"image_type":"logo","color":"color","theme":"light_transparent","width":320,"height":180,"aliases":[],"v4_aliases":[],"uri":"http://images.atlas.metabroadcast.com/pressassociation.com/channels/p22012112114.png"},{"image_type":"logo","color":"color","theme":"light_opaque","width":320,"height":180,"aliases":[],"v4_aliases":[],"uri":"http://images.atlas.metabroadcast.com/pressassociation.com/channels/p131610.png"},{"image_type":"logo","color":"color","theme":"dark_transparent","width":320,"height":180,"aliases":[],"v4_aliases":[],"uri":"http://images.atlas.metabroadcast.com/pressassociation.com/channels/p12012112114.png"}],"media_type":"video","high_definition":false,"regional":true,"broadcaster":{"key":"bbc.co.uk","name":"BBC","country":"GB"},"available_from":[{"key":"bbc.co.uk","name":"BBC","country":"GB"},{"key":"pressassociation.com","name":"PA","country":"GB"}],"parent":{"title":"BBC 
One","related_links":[],"genres":[],"aliases":[],"v4_aliases":[],"id":"cbPF"},"related_links":[{"type":"simulcast","url":"http://www.bbc.co.uk/tv/bbcone/live"}],"start_date":"1999-01-01T00:00:00Z","genres":["http://pressassociation.com/genres/entertainment"],"aliases":["bbcone-north_west","http://pressassociation.com/channels/14","http://xmltv.radiotimes.com/channels/98","http://youview.com/service/1122","http://atlas.metabroadcast.com/4.0/channels/hkq4"],"v4_aliases":[],"uri":"http://www.bbc.co.uk/services/bbcone/north_west","id":"cbbs","type":"channel"},"items":[{"locations":[],"broadcasts":[{"transmission_time":"2014-12-21T13:30:00Z","transmission_end_time":"2014-12-21T15:15:00Z","broadcast_duration":6300,"broadcast_on":"http://www.bbc.co.uk/services/bbcone

Mike

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


More information about the mythtv-users mailing list