Limiting XMLTV file to next 7 days only

Discussion of Version 3 and developing lua grabbers
Post Reply
b00sfuk
Posts: 31
Joined: Wed Dec 14, 2005 11:18 am

Limiting XMLTV file to next 7 days only

Post by b00sfuk »

Alan, just helping sub in the GB-PVR forums improve the support for Digiguide data imported into GB-PVR (and NPVR) using XMLTVGUI and have noticed a issue with my XMLTV file.

I use the grab command "XmltvConsole.exe /D7" to restrict to the next 7 days but my XMLTV file includes data for the last 7 days as well as the next 7. I can't think of a need for this and it would be nice to halve the size of the file. Is this working as designed? I seem to remember that the Digiguide grabber does download all the data anyway but still should only include future records.

Thanks again.
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Limiting XMLTV file to next 7 days only

Post by alanbirtles »

done:
https://www.birtles.org.uk/svn/xmltv/co ... ltvGUI.exe
note that if max days is not specified it will still write historical data
b00sfuk
Posts: 31
Joined: Wed Dec 14, 2005 11:18 am

Re: Limiting XMLTV file to next 7 days only

Post by b00sfuk »

Wow, that was quick, thanks Alan, will check it out tomorrow when I get home.
b00sfuk
Posts: 31
Joined: Wed Dec 14, 2005 11:18 am

Re: Limiting XMLTV file to next 7 days only

Post by b00sfuk »

Alan, thanks again, just confirming all working fine. Got a little confused initially as I have XMLTVConsole.exe in my batch file and that had not been updated (running XMLTVGUI.exe now in batch file OK).
Post Reply