|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
|||
|
|||
You the best dude, it fixed the SageTV hanging prob for me
|
#42
|
|||
|
|||
I'm struggling to make this work with 4.1.8 in the UK - clean install, added xmltv.XMLTVImportPlugin to the properties, I have an epgdata.xml in the right place, set to Cable tuner, USA/CANADA/XMLTV, and I get no sources listed at all! I expected to get epgdata.xml listed. Anyone else encountered this?
Nothing in the SageTV log, either. Last edited by Mahoney; 03-04-2006 at 03:46 AM. |
#43
|
||||
|
||||
The plugin has been updated.
Henk99, You might have to adjust your category translations since I've split combined categories in the xmltv file. RSageTV99, I've renamed the proposed configuration item to rerun.after.date. I've also added a category selector rerun.after.date.categories so you can choose what categories you want that option to be activated for. I've defaulted it to 'Series' (seems to make sense) but if your category information is not complete enough you could simply set it to '*'. You won't see any immediate changes to the guide. The rerun flag only seems to be set when a show is first added to the guide. So you'll have to wait for a new day of show-information to be added to your guide. I've added a variant of this for myself as well (rerun.no-episode.categories). I've made the category addition for star-rating a bit more flexible (categories.for.star-rating). You can now add any category (or combination of categories) to a show depending on the star-rating element. The quality information is now added to the bonus information (in the same way that aspect and stereo are). I'm not sure if the scheduler picks up on this. Please let me know wether or not it does. Just in case it does not I've added the undocumented feature (title.add.hdtv.categories) for you so you can create seperate favourites for HDTV enabled episodes. If the scheduler does appear to pick up on the HDTV in the bonus information I will remove that option. Have fun, Demideus |
#44
|
||||
|
||||
Quote:
Another thing to look for is that the plugin actually adds channels. You might have to remap them in Sage or in the xmltv.properties (channel.<id>.numbers=<number>). Yet another thing that could have happened is that you didn't shutdown the Sage server and clients before editing the Sage.properties file. Beyond that I can only suggest the XMLTV How to?, or searching the forum for similar problems. |
#45
|
||||
|
||||
Quote:
Quote:
a) Prepending the title with "HD -" OR b) only bring in the HDTV quality tag for those channels, and drop it on the other channels. The main advantage to option "a" is that it would help give your HD channels priority when you record a favorite. To be safe, you can create two sets of favorites, one in HD and one in SD. You could use this option to record the show twice (to be sure you get it - sometimes my HD reception is not so good). Another advantage is that you could start a search for a show with "HD -" and you would see everything that is coming up in HD format on your HD capable channels. Option (b) would only show the red flag for the HD shows on the channels in your list, but it would not prefer HD over SD. Great work Demedius! |
#46
|
||||
|
||||
Demedius,
I'm not sure if the "rerun.no-episode.categories=Series" is working, but maybe I misunderstood how it works. I have some shows that have no <date> tag and no <previously shown> tag, even though they are reruns. All of the first-runs from Zap2it appear to have <date> tags. I was hoping that this parameter was one that would create the following scenario: If no <date> tag program=rerun After re-reading your description however, I think your parameter is more like: If no program data (description) program=rerun For me, I think the first option works better, and actually the second option would cause a problem, because shows like Forensic Files, sometimes have no descriptions when they first come out, and they would be erroneously marked as a rerun. Could you make an option to disable option 1 (rerun.no-episode=false) and add a similar set of parameters for option 2 (rerun.no.date=true; rerun.no.date.categories=Series)? As for the HDTV info, I don't think Sage is reading it, but Sage support said they will be adding the ability to set this flag in future releases so you can leave it for now. One more anomaly, I noticed that the original air-date is no longer showing in the program details screen in Sage; instead you only see the year, could you add the entire date back? Thanks for all of your hard work. |
#47
|
|||
|
|||
My bad, I forgot about needing Xerces. I thought Java came with a SAX Parser nowadays? Sorry for bothering you!
Rob |
#48
|
|||
|
|||
Quote:
I am also having problems with importing XMLTV data. It worked once but since then it is not importing data for several channels although the data exsists in the XML file. Now I was thinking maybe I should add a xmltv.properties file containing the channel information as in the post above. I found myself unable to create the xmltv.properties file myself - I dont really understand the example description and the data in my epgdata.xml seems to be different from what I have seen here. I also dont understand how Sage derives the channel order from the imported XML data I tried your script - however, it doesnt work and I cant really follow it enough to understand what it does - it wixes something up here is an excerpt from the xml file and below the channel ids: <tv source-info-url="http://www.tvtoday.de/" source-data-url="http://programm.tvtoday.de/tv/programm/programm.php" generator-info-name="XMLTV" generator-info-url="http://membled.com/work/apps/xmltv/"> - <channel id="C3sat.de"> <display-name lang="de">3SAT</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/3sat.gif" /> </channel> - <channel id="ard.de"> <display-name lang="de">ARD</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/ard.gif" /> </channel> - <channel id="arte-tv.com"> <display-name lang="de">ARTE</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/arte.gif" /> </channel> - <channel id="C3.br-online.de"> <display-name lang="de">BAYERN</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/bayern.gif" /> </channel> - <channel id="cnn.com"> <display-name lang="de">CNN</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/cnn.gif" /> </channel> - <channel id="dsf.com"> <display-name lang="de">DSF</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/dsf.gif" /> </channel> - <channel id="das%20vierte.tvtoday.de"> <display-name lang="de">Das Vierte</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/dasvierte.gif" /> </channel> - <channel id="eurosport.de"> <display-name lang="de">Eurosport</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/eurosport.gif" /> </channel> - <channel id="hr-online.de"> <display-name lang="de">HESSEN</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/hessen.gif" /> </channel> - <channel id="kabel1.de"> <display-name lang="de">KABEL 1</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kabel1.gif" /> </channel> - <channel id="kika.de"> <display-name lang="de">Kika</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/kinderkanal.gif" /> </channel> - <channel id="mdr.de"> <display-name lang="de">MDR</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/mdr.gif" /> </channel> - <channel id="mtv.de"> <display-name lang="de">MTV</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/mtv.gif" /> </channel> - <channel id="n-tv.de"> <display-name lang="de">N-TV</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/ntv.gif" /> </channel> - <channel id="n24.de"> <display-name lang="de">N24</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/n24.gif" /> </channel> - <channel id="ndr.de"> <display-name lang="de">NDR</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/ndr.gif" /> </channel> - <channel id="neunlive.de"> <display-name lang="de">9 LIVE</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/neunlive.gif" /> </channel> - <channel id="nick.tvtoday.de"> <display-name lang="de">NICK</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/nick.gif" /> </channel> - <channel id="phoenix.de"> <display-name lang="de">PHOENIX</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/phoenix.gif" /> </channel> - <channel id="prosieben.de"> <display-name lang="de">PRO 7</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/pro7.gif" /> </channel> - <channel id="rtl.de"> <display-name lang="de">RTL</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/rtl.gif" /> </channel> - <channel id="rtl2.de"> <display-name lang="de">RTL 2</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/rtl2.gif" /> </channel> - <channel id="sat1.de"> <display-name lang="de">SAT.1</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/sat1.gif" /> </channel> - <channel id="superrtl.de"> <display-name lang="de">Super RTL</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/superrtl.gif" /> </channel> - <channel id="swr.de"> <display-name lang="de">SW III</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/swiii.gif" /> </channel> - <channel id="viva.tv"> <display-name lang="de">VIVA</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/viva.gif" /> </channel> - <channel id="vox.de"> <display-name lang="de">VOX</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/vox.gif" /> </channel> - <channel id="wdr.de"> <display-name lang="de">WDR</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/west.gif" /> </channel> - <channel id="zdf.de"> <display-name lang="de">ZDF</display-name> <icon src="http://www.tvtoday.de/tv/programm/bilder/senderlogos/zdf.gif" /> </channel> - <programme start="20060221002000 +0100" stop="20060221004500 +0100" showview="7-545-518" channel="C3sat.de" clumpidx="0/1"> <title lang="de">10 vor 10</title> <category lang="de">Nachrichtenmagazin</category> Channel_ids: channel.C3sat.de.numbers= channel.C3sat.de.names=, ARD channel.arte-tv.com.numbers= channel.arte-tv.com.names=, BAYERN channel.cnn.com.numbers= channel.cnn.com.names=, DSF channel.das%20vierte.tvtoday.de.numbers= channel.das%20vierte.tvtoday.de.names=, Eurosport channel.hr-online.de.numbers= channel.hr-online.de.names=, KABEL 1 channel.kika.de.numbers= channel.kika.de.names=, MDR channel.mtv.de.numbers= channel.mtv.de.names=, N-TV channel.n24.de.numbers= channel.n24.de.names=, NDR channel.neunlive.de.numbers= channel.neunlive.de.names=, NICK channel.phoenix.de.numbers= channel.phoenix.de.names=, PRO 7 channel.rtl.de.numbers= channel.rtl.de.names=, RTL 2 channel.sat1.de.numbers= channel.sat1.de.names=, Super RTL channel.swr.de.numbers= channel.swr.de.names=, VIVA channel.vox.de.numbers= channel.vox.de.names=, WDR channel.zdf.de.numbers= channel.zdf.de.names=, 10 vor 10 What exactly is the channel.*.numbers? is it the channel ordering I want or the frequency or what? Thank you Last edited by B00ne; 03-16-2006 at 07:14 AM. |
#49
|
||||
|
||||
Quote:
I think the problem is that I am using a pretty archaic way of determining where the channel names and numbers are. I have it working for Zap2it and the MT XMLTV exporter, but it sounds like your data is in a different format. I can probably add a section of code that deals with your data format. |
#50
|
|||
|
|||
U actually already have the complete top section of my xml file, it is in the post you qouted
I dont know I am using the normal XMLTV version x.42 to obtain the epgdata. Actually it would be great if someone could explain this section of the xmltv.properties in more detail: ################################################################################ # channel.ids=<id>[,<id>]... ################################################################################ # The channels that are added to the guide. # # - id - The xmltv id of a channel that should be added to the guide. # '*' if all channels should be added. # Default: * # # NOTE: filtered channels will still be parsed, they will merely not be added to # the guide. ################################################################################ # channel.<id>.names=<name>[,<name>] # channel.<id>.network=<network> # channel.<id>.numbers=<number>[,<number>]... ################################################################################ # The channel details from the xmltv file can be overridden. # # - id - The xmltv id for the channel. # - names - The short and long names for the channel. # - network - The name of the network. # - numbers - The tuner channel numbers for this channel. # # Examples: # channel.TMF.names=TMF, The Music Factory # channel.TMF.network=Network1 # channel.TMF.numbers=22, 50 # # The missing data will be obtained from the xmltv file. No need to make the effort of rewriting your script for a single user, I dont even know if adding a xmltv. prop file with the channel data will solve the problem of missing data for some channels.. But thanks Last edited by B00ne; 03-16-2006 at 10:24 AM. |
#51
|
||||
|
||||
Quote:
My script is expecting to find the channel number data and the long and short channel names in certain locations in your XMLTV file. However, it does not appear that your XMLTV data provides channel numbers. My script looks like it identifies the channel_id, but mixes up the channel name. To answer your question, you need to put your channel details in your xmltv.properties file or in a separate file, with the following format. channel.<the channel ID from your XMLTV data>.numbers=<the tuner channel number> channel.<the channel ID from your XMLTV data>.names=<Long Name of Channel,<Short Name of channel> For example, if MTV is on channel 123, your channel config would look like this: channel.mtv.de.numbers=123 channel.mtv.de.names=Music Television,MTV You would need these two lines for every channel in your XMLTV file. Also, for the name, you do not have to provide a long name, you can just put the short one. Hope this helps. |
#52
|
|||
|
|||
Thanks alot for your help I think I finally understand the xmltv.properties (well partially anyway)
SO I made myself a properties file now I dont have to remap the channels. The missing data for some channels was because of invalid characters in the xml file - I think the filter took care of that. And finally I also have all channels that my cable provides, because I made myself a second xml file with the missing channels which do not appear in the epgdata... Great - another question I am using sage 2.2 when I upgrade to 4.x will it be the same or do I have to learn the whole deal allover egain? |
#53
|
|||
|
|||
I'm totally lost. This seems very complicatad.
What should I use to import XTMLV data into sageTV so that SageTV has the most current program data? I am in Canada and am running a single SageTV PVR (no seperate backend/client). My SageTV pvr is not even hooked up to the internet BUT I have another PC on the internet that I will use for grabbing the XMLTV data for my area (still have to set that up though). I realize that I will need a special 'Java Parser Plugin' In order for that to work. Then I plan to simply go to my SageTV PC and copy the XTLTV file to the properly configured SageTV PC - with the proper plugin installed-- and have my channel list updated automatically. I don't want to be edited config files etc each time, or I'll go crazy trying to read computer txt on a 27in TV screen not designed for PC I don't need different channel lineups etc. Can't I just plop the XMLTV file into the directory and thats it? Do I need to get a masters in computer programming? What should I be doing? |
#54
|
||||||
|
||||||
The plugin has been updated.
Quote:
a) You can specify the title modification yourself with the hd.title.decoration property. If you're into Java, you might want to know that I'm using the MessageFormat class here to decorate the title (just so you'd know what options are available).b) You can specify the channels that can record in HDTV quality with the hd.title.decoration.channels property. (You should use the xmltv channel id's here.)I think this will give you the flexibility that you're after. B.t.w. I've removed the title.add.hdtv.categories property. Quote:
no-episode means that the xmltv programme has no text in the <sub-title> element and no episode number in the <episode-num> element. Therefore if the programme has no episode information and has any of the configured categories it will be marked as a rerun. Quote:
On the plus side, I've added the rerun.no-date.categories property to enable that first option for you. Quote:
I don't really seem to need the boolean switches on the older properties, so I've left them out of the newer properties. Of course you can still specify rerun.no-episode.categories=none if you'd like (assuming you do not have any categories named "none"). Quote:
However to bring your old situation back for you (more or less) I've added the date.title.decoration and date.title.decoration.categories properties. If you don't like the date format (it should be using your PC's regional settings) you can override the decoration to something like this {0} ({1,date,yyyyMMdd}) or this {0} ({1,date,dd-MM-yyyy}). Quote:
|
#55
|
||||
|
||||
Quote:
Theoretically, you should be able to plug any SAX parser implementation that you want into Java. The plugin however is hardcoded to use the xerces parser (not that you'd need any other SAX implementation). Quote:
|
#56
|
|||
|
|||
Sorry for my whinning earlier- not getting enough sleep I guess. Thanks in advance for anyone who can help me.
Does this plugin assume that you already have followed the steps to download the xmltv file as discussed in thread : http://forums.sagetv.com/forums/show...=XMLTV+grabber Do we still need copy the sorted epgdata.xml to the sagetv directory? And is there any need to change the config file, assuming my xtmltv file is East Canada and I only have 1 simple channel line up? I suppose that the plugin takes care of the parsing as long as that special Java file is present xerrec.jar. What do you mean by 'Class entries' FYI- My setup is: Athlon xp 3100 w/ VHX bt848 base capture card, Asus 8420 Ti4200 Vid Card 512 mb ram, 80 gb hd NB- No network on the PVR system but I plan to update the xmtvl file manually to the Sage Directory. I am running the latest version of SageTV |
#57
|
||||
|
||||
Quote:
The configuration for the xmltv import plugin is not touched by the upgrade so you won't have to redo anything for that. If somehow something does go awry, you can always copy any xmltv import plugin related stuff from your backup directory. |
#58
|
||||
|
||||
Quote:
If the plugin does not find the xmltv.properties file it'll simply use the defaults. This means that the xmltv file should be called "epgdata.xml" and should be located in "Program Files\Frey Technologies\SageTV". Once the plugin has been installed it will read the epgdata.xml file every 24 hours. (you can force it to start early by deactivating and reactivating one of your channels in Sage's setup menu). |
#59
|
|||
|
|||
Great news. So just to confirm, I CAN download the xmtlv file from an internet computer and simply transfer it from a disk or USB key to my SageTv unit?
The plugin, once properly installed, will take care of itself? |
#60
|
|||
|
|||
EPG Updates
I am presently using this plugin but I am just curious if there is a way to tell the plugin when it should update. i.e. Could I set it to update at like 4am or something like that? Or is it random as to when it updates? I am just curious as ideally I would like to schedule it so it doesn't try and update while I am watching/recording something.
Thanks, kevin |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|