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 03-25-2006, 07:36 PM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
XMLTVImportPlugin

Hellllppppp!!

Please, I am new to this forum, and have tried everything before comming to point where I am going to have to ask someone.

The annoying thing here is that this has to be remedial stuff. I am using a nexus card with mytheatre along with the network stream thing, anyhow that all works as it should, but I cannot for the life of me get the xml working.

The problem that I have is that when you try to configure the card from sage, is just wont see the XMLTVImportPlugin at all, yes I have checked the sage.properities about a thousand times to make sure that aren't any mistakes, it just seems as though it just doesn't know that this plugin exists.

Getting the xml files down from the net is the least of my problems, it's just this XMLTVImportPlugin thing, WHY CAN'T IT SEE IT?

Please help me before someone finds me hanging from a toe rope.
this has now been going on for days, and now it's 2.30 am and I have been at this since this morning.

Mike
Reply With Quote
  #2  
Old 03-25-2006, 11:03 PM
rsagetv99's Avatar
rsagetv99 rsagetv99 is offline
Sage Fanatic
 
Join Date: Nov 2004
Posts: 766
I will try to help, but there are so many things that can go wrong I don't know where to start.

Why don't you list in detail the steps you have gone through.
Reply With Quote
  #3  
Old 03-26-2006, 02:33 AM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
Unhappy

Captains log, stardate Sunday - the next morning!

yes sure I'll try to.

first of all i'll leave the configuration of mt out because thats working.
with regards to xml though...

I have downloaded the plugin and stuffed it in the c://program files/sagetv/savetv folder.

I have then ammended the sage.properties file so that the epg/epg_import_plugin=xmltv.XMLTVImportPlugin line says what it should do without any spaces at the end.

Then I have used tvxb to download the latest xml data successfully, and then put that data in the sagetv/sagetv directory.

After that I have run Sage and removed the tv source and then closed down Sage, restarted it again, used a new source and followed it through untill the point where you have the option to choose where the xml data is comming from.

At this point it asks for a postcode, I enter 00000 and then there are no options to choose from at all.

I then go and ammend the sage.properties back again, so that it says
epg/epg_import_plugin=
and then when I go and run Sage all the USA options are there, but not the xml plugin as expected though of course.

then about 2 million times I go and ammend the epg/epg_import_plugin=xmltv.XMLTVImportPlugin
line back again, and nothing!!!!

this is now the loop that i'm stuck in.
you know how it is when you in this place, you just can't seem to see past it.


Mike
Reply With Quote
  #4  
Old 03-26-2006, 02:58 AM
waltraud waltraud is offline
Sage Advanced User
 
Join Date: Oct 2005
Posts: 135
Hi,

did you close down Sage and also the SageTV Service before you modified the sage.properties file?
Reply With Quote
  #5  
Old 03-26-2006, 06:00 AM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
I belive so, i'll try that again, you never know may have so far into this,it's possibe that I have made a mistake, i'll let you know.

Mike
Reply With Quote
  #6  
Old 03-26-2006, 06:19 AM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
tried it again with reboots as well, no go

Mike
Reply With Quote
  #7  
Old 03-26-2006, 06:35 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
What Plun in are you using?

Do you have xerces.jar in C:\Program Files\Java\jre1.5.0_04\lib\ext.

Your Java Version may be different but check in there to see if it is.

Do you have an XMLTVerrorlog.txt in your Sage Dir?

Technazz
Reply With Quote
  #8  
Old 03-26-2006, 06:44 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
(I think XMLTVerrorlog.txt comes from Demideus's plugin only)

and also try the plugin tester from the wiki: the 'no options at all' implies that there might have been a problem with the plugin you are using and the contents of your XML file...

http://www.sage-community.org/index.cgi/wiki/XMLTV
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #9  
Old 03-26-2006, 07:51 AM
Alfiegerner Alfiegerner is offline
Sage Aficionado
 
Join Date: Oct 2005
Location: Auckland, NZ
Posts: 383
I was able to re-create these symptoms by having no xerces.jar: I think that might be your problem. There's a link in this thread to the xerces.jar file you need with instruction sof where to put it:

http://forums.sagetv.com/forums/show...=XMLTV+grabber

Its also a good thread for troubleshooting xmltv in general.
Reply With Quote
  #10  
Old 03-26-2006, 01:45 PM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
AAAArrrgggggg

This is making me suicidel now, after spending another 2 hours messing around with xmltv just to find that the code that's suggested in the thread posted earlier no longer works with the latest version of xmltv, I then went and created my own bat file with the commands that are now current, to download the epg-xml file, to run sage to find that the same f******* this is still happening. AAAArrgggghhhhhhhhhhhhhhh%%$$.

This is going to be the end for me, I can see a large lorry just comming up the road now!!!

save me while there is a chance!!!

Mike.
Reply With Quote
  #11  
Old 03-26-2006, 02:22 PM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
Wink

I have actually found the fault, it was the syntax of the sage.properites, and the line that is to do with the epg_import plugin, the syntax was wrong and I havn't even changed that. it was the fact that it was looking for the import plugin is sage directory, not sagetv.sagetv.

I wont forget that one in a hurry.

sighs of relief, will just have to see how the epg populates now.
i'll let you know.

Mike
Reply With Quote
  #12  
Old 03-26-2006, 03:46 PM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
well maybe that was a little to soon to celebrate, at least now it's giving me the option to choose the xml .1

The problem now is that it says downloading xml. please wait, and it never goes any further that that.

Mike
Reply With Quote
  #13  
Old 03-26-2006, 04:21 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
downloading.. waiting forever also suggests invalid data -- or data incompatible with the plugin being used.

Which plugin are you using?
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #14  
Old 03-26-2006, 05:30 PM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
I think that i've tried all of them. lol

I have checked that I have the .jar file, and instlled in all the locations that it may be needed.

for xml i'm using tvxb, which is fantastic.

it looks to me that it doesn't seem to know where to find the xml file. it isn't even getting as far as to populate it, well thats what is looks like to me.

my god this is hard, and it should be easy. it's just that so many changes have been made along the way that you have to make sure that you are using all the compatable stuff.

Mike
Reply With Quote
  #15  
Old 03-27-2006, 01:10 AM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
Ok, another minor update, by going through all the different versions of plug in, I have at last found one that nearly works, it does actually see the the xml file, it's just that this time it lists the chanel names in the epg, but not the shedule.

This has been a knightmare voyage, and when this is done I will attach a working epgplug in with a sage.properities so that you wont have to find the correct combination.

Maybe this will make it easier.

Mike
Reply With Quote
  #16  
Old 03-27-2006, 02:21 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Any failure when reading/parsing the XML file will lead to a failure to populate the DB

Demideus' plugin is most fault-tolerant and configurable, and creates a log file.

All the plugins can be tested outside of sage with the plugin tester mentioned above, which will report errors to the console.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #17  
Old 03-27-2006, 01:19 PM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
well it looks as though I have managed to get this thing working, now I only have the one question left, is there way to make it quicker to sync the channes in mytheatre to the epg listing, or is the only way to map like 300 chanels, one by one?

Mike
Reply With Quote
  #18  
Old 03-27-2006, 03:33 PM
rsagetv99's Avatar
rsagetv99 rsagetv99 is offline
Sage Fanatic
 
Join Date: Nov 2004
Posts: 766
Quote:
Originally Posted by rolfey
well it looks as though I have managed to get this thing working, now I only have the one question left, is there way to make it quicker to sync the channes in mytheatre to the epg listing, or is the only way to map like 300 chanels, one by one?

Mike
If you mean numbering the channels in Sage to match what you have in MyTheatre, you can use my channel numbering script for that.
Reply With Quote
  #19  
Old 03-27-2006, 04:37 PM
rolfey rolfey is offline
Sage User
 
Join Date: Mar 2006
Posts: 13
yeah that sounds great, where can I get your script?

Just one question though, this is still not going to bind the contents of the xml listing to the satellite scan that comes down the strean though is it, because thats what I am taking about.

potentially, every time you run a scan on MT, you stand to have a different order of chanell listings, I dont really fancy remapping/editing 300 channels every time, by the way this isn't a complaint about you're work, I was just trying to get my head around the problem.

I wonder, MT actually creates an xml listing I think, I wonder if it's possible to snatch that and then import it.


Mike
Reply With Quote
  #20  
Old 03-28-2006, 09:04 AM
rsagetv99's Avatar
rsagetv99 rsagetv99 is offline
Sage Fanatic
 
Join Date: Nov 2004
Posts: 766
Quote:
Originally Posted by rolfey
yeah that sounds great, where can I get your script?

Just one question though, this is still not going to bind the contents of the xml listing to the satellite scan that comes down the strean though is it, because thats what I am taking about.

potentially, every time you run a scan on MT, you stand to have a different order of chanell listings, I dont really fancy remapping/editing 300 channels every time, by the way this isn't a complaint about you're work, I was just trying to get my head around the problem.

I wonder, MT actually creates an xml listing I think, I wonder if it's possible to snatch that and then import it.


Mike
It's in this forum, search for Attention All MyTheatre Users

If you run the script as part of your nightly process, having the script export a text file with your channel mappings nightly then you will never have to remap your channels. Just add an include= line to your xmltv.properties file (see Demedius' plugin) to include the channel list in your configuration.
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 03:58 PM.


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