mikbro
09-17-2003, 07:42 PM
I have updated the existing xmltv plugin to support multiple xmltv lineups.
For instance, I have a Cable TV lineup, Starchoice Canada, and C-Band lineup all working appropriately in my 3 tuner system.
The installation and usage of the plugin is identical to instructions detailed here (http://forums.freytechnologies.com/forums/showthread.php?threadid=1484) except for the following:
Instead of referring to the program data from XMLTV as a single file "epgdata.xml" (and limiting you to a single service provider), you can now have up to 5 different sets of XMLTV data, labeled "1.xml" through "5.xml"
So, if you 3 different sources of xmltv data, you would name then "1.xml", "2.xml", and "3.xml". Place these files in the SageTV directory as you would the "epgdata.xml" file. Note: the "epgdata.xml" is no longer used in this plugin.
When you go to setup the tuner in Sage, you will now see five providers instead of the 1 "XMLTV Lineup". Select the appropriate lineup corresponding to the xml file(s) you put in the Sage directory. If you only put 2 files (say "1.xml" and "2.xml") in the Sage directory, do not select "3.xml" from the list of providers in Sage - it won't find a "3.xml" and will crash.
Credit goes to:
Mattias Larsson who created the plugin and Lester Jacobs who modified it previously. All I did was about 15 minutes of work to support multiple providers.
It should work with SageTV 1.3+ (I am using 1.4.10)
It has been tested with xmltv v0.5.18, though from the comments I have read it should work with v0.5.15 (and perhaps earlier) and up.
I also noticed it is a good idea to remove a tuner from Sage completely rather than just add a new source on top of one already defined. After removing the tuner, shutdown Sage and re-add the tuner with the appropriate lineups. I found if I did not remove, exit and add again I usually received an error that shut Sage down. I think this is a general comment for the xmltv plugin in general, and once the tuner is setup, it works like a charm.
Edit: I initially attached my version which inlcuded TW Cable, Starchoice and CBand as the names, not 1, 2, 3 etc as above. I have revised the attachment so it is now correct. Sorry for the confusion.
Edit: Additional mods - if you had two providers that used the same channel number, one would get overriden. I have made additional changes to support having multiple xmltv providers and overlapping channels. It now functions properly and displays all channels.
For instance, I have a Cable TV lineup, Starchoice Canada, and C-Band lineup all working appropriately in my 3 tuner system.
The installation and usage of the plugin is identical to instructions detailed here (http://forums.freytechnologies.com/forums/showthread.php?threadid=1484) except for the following:
Instead of referring to the program data from XMLTV as a single file "epgdata.xml" (and limiting you to a single service provider), you can now have up to 5 different sets of XMLTV data, labeled "1.xml" through "5.xml"
So, if you 3 different sources of xmltv data, you would name then "1.xml", "2.xml", and "3.xml". Place these files in the SageTV directory as you would the "epgdata.xml" file. Note: the "epgdata.xml" is no longer used in this plugin.
When you go to setup the tuner in Sage, you will now see five providers instead of the 1 "XMLTV Lineup". Select the appropriate lineup corresponding to the xml file(s) you put in the Sage directory. If you only put 2 files (say "1.xml" and "2.xml") in the Sage directory, do not select "3.xml" from the list of providers in Sage - it won't find a "3.xml" and will crash.
Credit goes to:
Mattias Larsson who created the plugin and Lester Jacobs who modified it previously. All I did was about 15 minutes of work to support multiple providers.
It should work with SageTV 1.3+ (I am using 1.4.10)
It has been tested with xmltv v0.5.18, though from the comments I have read it should work with v0.5.15 (and perhaps earlier) and up.
I also noticed it is a good idea to remove a tuner from Sage completely rather than just add a new source on top of one already defined. After removing the tuner, shutdown Sage and re-add the tuner with the appropriate lineups. I found if I did not remove, exit and add again I usually received an error that shut Sage down. I think this is a general comment for the xmltv plugin in general, and once the tuner is setup, it works like a charm.
Edit: I initially attached my version which inlcuded TW Cable, Starchoice and CBand as the names, not 1, 2, 3 etc as above. I have revised the attachment so it is now correct. Sorry for the confusion.
Edit: Additional mods - if you had two providers that used the same channel number, one would get overriden. I have made additional changes to support having multiple xmltv providers and overlapping channels. It now functions properly and displays all channels.