SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV EPG Service
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-03-2004, 05:42 AM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
XMLTV EPG Problems

It would appera that my XMLTV is not working as it should

the XML file that gets downloaded only appears to be 1k.

here are the contents:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">

<tv source-info-url="http://www.radiotimes.com/" source-info-name="Radio Times" generator-info-name="XMLTV" generator-info-url="http://membled.com/work/apps/xmltv/">

and here are the contents of my .bat file:

pushd c:\xmltv

if exist started.at goto already_running
time /t >started.at
date /t >>started.at

del epgdata.xml
xmltv.exe tv_grab_uk_rt --days 3 >c:\xmltv\epgdata.xml
if ERRORLEVEL 2 goto no_data_downloaded

copy "c:\xmltv\epgdata.xml" "Z:\Program Files\Frey Technologies\SageTV"

:no_data_downloaded
del started.at
:already_running
popd

Anybody have any idea whats going on?
Reply With Quote
  #2  
Old 05-03-2004, 06:07 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
the XMLTV grabber is failing, so the generated file is empty -- run the grabber manually in a window and look at the error messages it gives. (and then post to the XMLTV mailing lists for support)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #3  
Old 05-04-2004, 12:23 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
May be related to this problem
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #4  
Old 05-04-2004, 12:05 PM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
Thanks for the info nielm.

I feel totally out of my depth here. I only understand the very basics of XMLTV (ie copyiny bat files off the net). I just have a fear that my nice Sage TV is going to bet let down often by what I can only see as an incredibly flakey system. I really have come to a dead end. My sage TV has now run out of EPG data, so I am left nowhere.

Wo is me!

Do you know of any other ways of getting XMLTV data? I have tried some software called 'XMLTV Automate' (which is just a front end for XMLTV, so also doesn't work) and 'grab EPG.exe' which does grab the EPG data (very fast grab?) however Sage does not seem to see this data once it is imported.

Any more help would be superb
Reply With Quote
  #5  
Old 05-04-2004, 01:16 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
XMLTV is nowhere near perfect, but it is the only solution for getting EPG info into sage.

tv_grab_uk_rt works by reading the www.radiotimes.com website and trying to extract the data from it... Easy for a human, difficult for a computer program...

To see the error messages, do:
start->run cmd.exe
then type:
c:
cd c:\xmltv
xmltv.exe tv_grab_uk_rt --days 3 >c:\xmltv\epgdata.xml

You could also try grabbing starting from tomorrows data
xmltv.exe tv_grab_uk_rt --offset 1 --days 3 >c:\xmltv\epgdata.xml

In any case, try grabbing again tomorrow and it might work. A new XMLTV version that will fix this problem in the future is being worked on.
Reply With Quote
  #6  
Old 05-04-2004, 03:23 PM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
Man, you are a legend!

It would appear that that post was correct:

(special characters in title cause failures
If a TV Program is published with special characters,
such as a double quote (") the parsing of the title string
fails. This happens in tv_grab_uk_rt, on the UK channel
4, Tue 4th May 23:00 - 24:00 where the program name
is)

I had to put an offset of 2days in to make it work though!

Thanks so much for the info!

It all helps to keep the Girlfriend happy!

Cheers man
Reply With Quote
  #7  
Old 05-04-2004, 03:47 PM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
so near yet so far!!

OK - I got the XML downloaded, but now Sage does not see it!?!

I have installed all the stuff that is required but when Sage says 'downloading EPG data' - it just sits on that screen.

Again - any ideas?

will it have a problem with epg data that does not start for a coupe of days maybe?
Reply With Quote
  #8  
Old 05-04-2004, 04:50 PM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
OK - Managed to sort it......
The 'Plugin.zip' was not working. I had one installed that put 6 files into the xmltv folder within Sage. I then hunted aroung the forums for another version of this plugin and found one that just had the 3 files (3x .class).

Sage has now spotted the new xml data.

again thanx for your help man.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.