|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
EPG plugin controlling a tuner?
I'd like to write an EPG plugin to get EPG data from a DVB-S stream. I'm wondering if I could use the existing EPG plugin mechanism to do this. I would need to query Sage to find out when it would next be using the DVB-S tuner, as obviously at that point I would need to let it tune to the station to be recorded, and I would need to query when Sage had finished using it so that I could take control of it again. Is that possible via the API? Via Studio? Looking around to try and work out what the most appropriate hook is, really.
__________________
Server: Sage 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, Terratec Cinergy 2400i, Technotrend S2-3200 Client: Sage Client 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, GeForce 6150, ForceWare 93.71, nForce 8.26, PureVideo 1.02-223, SageMC 6.3.2c |
#2
|
||||
|
||||
off the top of my head:
You would need something (java thread within sage? Separate app?) which captures the EPG data and saves it to a temp file You would a thread in Sage which can inform the tuner EPG grabber task when the next scheduled recording is coming on that device (there are normal API calls for this), so that the task can release the tuner to Sage before then. There are no asynchronous calls to Java plugins (so you cannot be told a few ms before Sage starts using the tuner) This would mean that LiveTV on that tuner may not be possible, but you could do things like schedule the EPG grab for 3am! You would also need to write an EPG plugin which passes the on-disk info to Sage when Sage triggers its epg update every 24h...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#3
|
|||
|
|||
I had a vague recollection that you could trigger an EPG update whenever you want, via the API?
Quote:
Guess it's time to start playing around, anyway. Thanks!
__________________
Server: Sage 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, Terratec Cinergy 2400i, Technotrend S2-3200 Client: Sage Client 6.1.9, Java 1.6.0_01, AthlonXP 3000+, 512MB RAM, GeForce 6150, ForceWare 93.71, nForce 8.26, PureVideo 1.02-223, SageMC 6.3.2c |
#4
|
||||
|
||||
Quote:
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|