|
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 |
#21
|
||||
|
||||
Quote:
I also want to plug it into the webserver, so that all webserver pages (search results /detailed info / Rec sched etc) can generate XML output if required.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#22
|
|||
|
|||
Reading and writing the xml data
Quote:
You just need a Read/Write Request Broker. Request Broker would test_for/start a background thread with access to the file and exposed read and write methods, Read and Write request would then be pushed through this thread no matter who called, all would be sync'ed. Nightrader |
#23
|
|||
|
|||
This is definitately something that needs to be done. I would love it if there was a way to read xml from the webserver plugin. I'm currently looking into developing a script for XBMC that hooks into the your webserver to retreive the information I need to display recordings and play them. This is step one of course, followed by setting up recordings through the epg and searching. This is something I just started on and would love to see the webserver return an xml file by adding a query string to the url like:
http://localhost:8080/sage/DetailedInfo?AiringId=45420&xml=1 I will say right now that I'm not experienced with Python at all, but I know we all would love a SageTV plugin for XBMC. nielm's webserver is so kickass that I really think I can link XBMC to SageTV with a lot of help from the webserver. Using xml rather than scraping the web pages would of course be awesome. So who doesn't want a standard xml format for Sage!?!? Seems like it would help everyone! So how the heck do we decide on this standard? Coolwave Last edited by Coolwave; 02-20-2006 at 08:46 PM. |
#24
|
||||
|
||||
One year later ... and I am close to a release of the webserver with XML output, and also of a java-only plugin that automatically creates XML files for each recording.
I have updated the XML definition to include information about favorites, and file type, and a few more flags. updated DTD. see http://www.sage-community.org/index....ki/SageXmlInfo
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki Last edited by nielm; 03-25-2006 at 08:12 AM. |
#25
|
||||
|
||||
This is now implemented in Webserver v2.7 and in the Sage Recordings XML generator...
Apologies to Coolwave and Jere_Jones for forcing them to parse my crappy HTML for so long, and I hope this makes your lives easier, guys!
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#26
|
||||
|
||||
Jere
__________________
Death to commercials!!! Latest ShowAnalyzer Beta version: 0.9.7
|
#27
|
||||
|
||||
For anyone who wants to include XML writing in their STV, I have published some javadocs for the API functions.
__________________
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) | |
|
|