- Windows-based Plex Media Server.
Article out of date. Follow zap2xml instructions and skip to Step 4.
Step 1: Download zap2xml.exe
Obtain the latest copy of zap2xml.exe from http://zap2xml.awardspace.info/.
Extract it to a folder of your choice. For this example, my folder will be:
Step 2: zap2it.com
Go to http://www.zap2it.com/tvlistings/ and set the zip code and provider. For this example, my zip code would be 01851 and provider Broadcast (Antenna).
The following information from your URL would be used to create your zap2xml command:
Create a batch file to run the command.
zap2xml -Z zipcode -Y lineupid -d days
zap2xml -Z 01851 -Y USA-OTA01851 -d 2
Note: By default, zap2xml will fetch 7 days of data without the -d option. Setting -d 2 will make zap2xml fetch 2 days for of data which keeps the xmltv.xml file small and at the same time, shows listing that is past midnight. The smaller the file, the faster HDHR Viewer runs with XMLTV enabled. File size should be less than 20MB.
Note: If you have a zap2it account, utilize it to set favorite channels to fetch data for channels you only have, or would like to see. The command would be different, refer to zap2xml’s site. Example:
zap2xml -u firstname.lastname@example.org -p MyPassword -d 2
Step 3: Test run
Run the zap2xml.bat batch file. A xmltv.xml file should be generated when the program runs successfully.
Step 4: HDHR Viewer Test run
Go to the HDHR Viewer Settings, check Enable XMLTV, and set the XMLTV Location to location path of your file (eg. C:\HDHRViewer\xmltv.xml)
Step 5: Task Scheduler
Set the Task Scheduler to run the program daily
Start Task Scheduler. Create a new task, give it a name XMLTV
Add triggers for At log on, and Daily.
Add action to Start a program. Set it to point to the batch file, and remember to enter the folder name in Start in (optional):