PDA

View Full Version : XMLTV plugin help needed... Thx


rjpear
06-07-2003, 11:45 AM
Ok..I've red the forum..but cannot follow what is needed of an end user to get XMLTV to import my local cable listings into SageTV..
Can anyone write a Newbie guide covering what is needed (software wise) and how to install it.. That would be fanteriffic! (new word?)

Thanks!
Rob

mandrake
06-07-2003, 12:59 PM
Ok I will give this a try (warning this may not be the best way)

Download XMLTV from here http://sourceforge.net/project/showfiles.php?group_id=39046

Unzipped it to a directory ie C:\Program Files\xmltv\

Now open a command prompt cd to the dir where you installed it and run the following line XMLTV.exe tv_grab_na --configure and following the instructions.

Now open note pad and create a file like:

set tz=edt
xmltv tv_grab_na --configure
xmltv tv_grab_na --listings listing.xml --days 10 --listings-overwrite true
xmltv tv_sort --by-channel --output listings.xml listing.xml
copy listings.xml "C:\Program Files\Frey Technologies\SageTV\epgdata.xml"
exit
Save it with a name like "listing update.bat"

Go to Windows Scheduler and set it up to run the listing update.bat how often you want to update the guide

Couple of notes this guide is for North America
the set tz= sets you time zone ie EDT is eastern daylight time

days set the number of days of listings to download I have found 10 to be the max for me but YMMV

Now go to this link to download the plugin and to get info on how to install it http://www.freytechnologies.com/forums/showthread.php?s=&threadid=43&perpage=20&highlight=XMLTV&pagenumber=3


Now run Sagetv and go to setup. Choose Setup Wizard and Choose Add Modify a Source Now choose the turner yu want to add the line up to. enter trial as the code then enter your zip code. Choose the Xmltv as you provider and following the wizard the rest of the way thru.

As I said at the start this may not be the best way but it works fine for me

Hopes this helps

rjpear
06-07-2003, 01:24 PM
Thanks a bunch!! This should help me..and others alot...!!

grot
06-08-2003, 10:27 PM
Word of caution - i have YET to be able to get windows XP to consistently run either a batch or com file from the built in autoscheduler. After beating my head against a wall, I have discovered that this was NOT me but a known problem with the Task Scheduler, and that there is no fix from MSFT right now (their workaround involves disabling your keyboard and mouse, so it's not exactly a useful fix).

There are numerous other scheduling programs you can get off tucows. I picked one called winscheduler which seems to be working well.

mandrake
06-09-2003, 02:37 AM
Not sure exactly what your problem is but I currently am running 4 batch files daily in the scheduler without a problem

grot
06-09-2003, 09:28 AM
Its one of those wierd XP bugs that makes no sense at all. On my laptop, where it makes no difference of course, I can schedule anything I want. On my two home machines, both will exit with "success" codes of 80, but not actually run any tasks. There's a raft of documentation on this little bug, but no real fix other than "This will be addressed in an upcoming SP."

rjpear
06-11-2003, 05:32 PM
This is the DOS text from a Command prompt running the above listed BATCH file. Can Anyone spot the problem?? Thanks!

_________________________________________________
checking provider information for postal/zip code 16335, be patient..
double checking channel information, be patient..
could not load grab/na/tv_grab_na: at exe_wrap.pl line 70.

C:\PROGRA~1\XMTV>xmltv tv_sort --by-channel --output listings.xml listing.xml
Timezone is edt
listing.xml: Couldn't open listing.xml:
No such file or directory at /PerlApp/XMLTV.pm line 573

C:\PROGRA~1\XMTV>copy listings.xml "C:\Program Files\Frey Technologies\SageTV\ep
gdata.xml"
The system cannot find the file specified.
----------------------------------------------------------------------------------

mandrake
06-11-2003, 06:16 PM
Did you download the win32 version. It looks likes it is looking for perl and it shouldnt need to for the win32 version.

GamerMage
06-13-2003, 09:19 AM
im having the same problem

GamerMage
06-13-2003, 12:03 PM
fixed it.

if i try to change the time zone it wont work

videogeek
06-27-2003, 01:40 AM
Did everything mandrake listed but when I do the last steps (enter my zip and choose XMLTV as provider) and hit enter I get a screen 'Please wait while your channel lineup is downloaded from the SageTV server' - but nothing happens - there is no internet access (my cable modem access light dosn't blink)

Any idea what could be wrong?
Thanks!

installed Java
xmltv is in a folder in C:\Program Files\xmltv
plugins are in a folder C:\Program Files\Frey Technologies\SageTV\xmltv
generated epgdata.xml and put in SageTV folder
(had no problems setting up xmltv and generating the epgdata.xml file in the Command Prompt window

mandrake
06-27-2003, 02:44 AM
Where exactly did you copy the epgdata.xml file. It needs to be in the root sagetv folder. You souldnt have internet access since sage is looking locally for the file.

videogeek
06-27-2003, 03:16 AM
First I did 'xmltv tv_grab_na --configure' as per your instructions above, then I created the .bat file and did the scheduling
Next I used again the Command Prompt and did 'xmltv tv_grab_na > epgdata.xml' which generated the epgdata.xml in the folder C:\Program Files\xmltv
I then moved the epgdata.xml file to C:\Program Files\Frey Technologies\SageTV

After I modified the properties file I run SageTV and followed the instructions above - after selecting XMLTV it just hangs on ''Please wait while your channel lineup ....' and nothing happens

Thank you very much for your help :)

videogeek
06-27-2003, 03:45 AM
Ahh - fixed. Replaced the xmltv plugins folder with a fresh download and now all is working. Just remapped all channels. Happy camper :)