<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 21 December 2014 at 08:15, Martin Moores <span dir="ltr"><<a href="mailto:moores.martin@gmail.com" target="_blank">moores.martin@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div><br></div></span><div><br></div><div>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!</div><div><br></div><div>Cheers</div><span class=""><font color="#888888"><div><br></div><div>Martin</div></font></span></div><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">OK, think I can see what is happening.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Running:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-size:13px">tv_grab_uk_atlas --config-file /home/user/.xmltv/tv_grub_uk_atlas/config --hours 1 --debug</span><br></div><div class="gmail_extra"><span style="font-size:13px"><br></span></div><div class="gmail_extra"><span style="font-size:13px">Shows the API call URLs being sent for data, e.g, one of the following for each channel:</span></div><div class="gmail_extra"><span style="font-size:13px"><br></span></div><div class="gmail_extra"><a href="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****">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****</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Putting this in a browser gives:</div><div class="gmail_extra"><br></div><div class="gmail_extra">{"error":{"message":"An internal server error occurred","error_code":"INTERNAL_ERROR","error_id":"b033a50d-049e-492b-917e-425d51f506bb"}}<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">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.</div><div class="gmail_extra"><br></div><div class="gmail_extra">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.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I can also get the "server error" when testing on their admin page:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://atlas.metabroadcast.com/#apiExplorer">http://atlas.metabroadcast.com/#apiExplorer</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers</div><div class="gmail_extra"><br></div><div class="gmail_extra">Martin</div></div>