View Single Post
Old 2008-05-08, 00:29   #850 (permalink)
mrbenji
Portal Member
 
Join Date: Mar 2008
Posts: 40
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Default Python script to fix Shedules Direct XML files for TvScheduler

I posted earlier about my issues with Schedules Direct XMLs produced by xmltv.exe, which load into TvScheduler with nearly every first run show marked "Repeat."

I've got this issue resolved now, by first clicking "Delete All Guide Data" in the TV Scheduler Management Console's settings section, then processing my XML with a Python script I wrote and feeding it to TvScheduler. Oh, and the guide data deletion step should only have to be done the first time.

With this issue resolved TvScheduler now removes one of MP's biggest wife-acceptance-factor hurdles... no "First Run Only" scheduling. Yay!

In the hopes others in my situation will benefit from my efforts, I've attached my Python script. To use it you'll need to download & install ActiveState's free Python distribution (btw, you don't have to enter your name or email to download this... just click "continue."). Next, unzip the script to somewhere that makes sense, edit it to point to your XML file's location, then run markNew.py before copying your "fixed" XML file into TvSchedule's XML "inbox."

There's a setting near the top of the Python script that will do that last step for you.

Please let me know if you have any questions.
Attached Files
File Type: zip markNew.zip (1.2 KB, 0 views)

Last edited by mrbenji; 2008-05-14 at 20:59. Reason: Updated script to newest version
mrbenji is offline   Reply With Quote
This User Say Thank You: