UK - Atlas MetaBroadcast not happy - via xmltv (1 Viewer)

hucknallred

Portal Pro
February 21, 2012
75
22
58
Home Country
United Kingdom United Kingdom
OK, Atlas lives on for me, as requested by them my queries are not so wasteful, out goes grabbing 13 days worth in a go, in come 24 hour chunks. This is my new xmltv batch file, I may tweak a little if I get gaps in the guide, I tend to switch between MP TV server & Argus hence the .xml going to 2 locations

echo on
cd c:\xmltv_tv\
xmltv tv_grab_uk_atlas --hours 24 --offset 312 --output tv.xml (get 1 days data for 2 weeks from now)

copy tv.xml "c:\programdata\argus tv\xmltv\"
copy tv.xml "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv"
copy xmltv.dtd "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv" /y
timeout /t 60 (Give Argus/MP time to process data)

xmltv tv_grab_uk_atlas --hours 24 --offset 2 --output tv.xml (get 1 days data 2 hours from now to fill any late changes, probably don't need the offset)
copy tv.xml "c:\programdata\argus tv\xmltv\"
copy tv.xml "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv"
copy xmltv.dtd "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv" /y
timeout /t 60

xmltv tv_grab_uk_atlas --hours 24 --offset 24 --output tv.xml (get 1 days data 24 hours from now to fill any late changes)
copy tv.xml "c:\programdata\argus tv\xmltv\"
copy tv.xml "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv"
copy xmltv.dtd "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv" /y
timeout /t 60

xmltv tv_grab_uk_atlas --hours 24 --offset 168 --output tv.xml (get 1 days data 7 days from now to fill any gaps from 1st run)
copy tv.xml "c:\programdata\argus tv\xmltv\"
copy tv.xml "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv"
copy xmltv.dtd "C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv" /y
timeout /t 60

So far so good, my API key still works. I may throw in a few more intervals though.
 

Users who are viewing this thread

Top Bottom