|
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
|
||||
|
||||
Plugin: SageRecordings XML file generator (v1.5 20/Dec/2007)
This is a java plugin for SageTV that will automatically create XML files for each and every Sage recording, the information in which can then be used by external programs.
Code:
Show-Episode-12345-0.mpg Show-Episode-12345-0.mpg.xml See the Sage Wiki for download and install instructions. History 20 Dec 2007 -- v1.5 * Fixed bug preventing XML files from being generated 20 Dec 2007 -- v1.4
08 Aug 2007 -- v1.3 * Fix export of person-favorites * Fix various XML parsing bugs for import where showID, AiringID is blank 04-May-2007 -- v1.2 * Update to DTD v1.2 -- extra Airing information (HDTV, etc) * included import code used by webserver * added Windows installer 24-Mar-2006 -- V1.1 * First Version
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki Last edited by nielm; 12-21-2007 at 02:41 PM. |
#2
|
|||
|
|||
it works great, I just had to remove the old xml files that I create manual.
__________________
12.04 server Sagetv7 HD-pvr / 2250 /PVR 500 / DVBS w/rotor & 36 inch dish Last edited by Motofreak75; 03-24-2006 at 07:55 PM. |
#3
|
|||
|
|||
Problems
I followed th instructions on Wiki, but it dosn't seem to work. And an odd thing: when I add the "net.sf.sageplugins.sagexmlinfo.RecordingXmlGenerator" to the "load_at_startup_runnable_classes=" property, it gets removed automaticly after a few minutes ??
I'm using XMLTV Thanks Anders |
#4
|
||||
|
||||
you need to have fully shut down sage before editing the .properties file.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#5
|
|||
|
|||
Yes :-(
yes, of course I have to shut it down before editing... doh...
Well, now it works. Great job Thanks Anders |
#6
|
|||
|
|||
Feature request...
Neil,
Any chance you could have this create an aggregate "Collection.xml" file? |
#7
|
||||
|
||||
You can use the xml output function of the websever (either from search results, or from Sage recordings) to get xml data for groups of recordings/airings/etc
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#8
|
|||
|
|||
Ok..somebody said the only dumb question is the one you don't ask...
Anyway..being new...what are the numbers after the show - episode? I assume they must match up to a database somewhere. If so, how can it be accessed? I take shows recorded in sagetv and use video redo to take out commercials. Then I save the file and import it to a directory used by Sagetv. but, of course now all of my information about the show is gone. So, how do I get that information back into my imported files? Thanks.... |
#9
|
|||
|
|||
Can Mpeg video files support tags like music files? That would be the best way to keep the file information with the show. Ultra portability.
|
#10
|
||||
|
||||
Has anybody written any code yet to import this XML data back into Sage using AddMediaFile, AddShow, AddAiringDetailed, etc? Or are there any plans to do so? A two-way export/import plugin might be useful for salvaging a damaged wiz.bin or merging wiz.bin DBs from different machines.
I was thinking about writing a tool to move SageTV recordings from one machine to another, but I don't want to reinvent the wheel if something like that already exists or is in the works. Thanks.
__________________
-- Greg |
#11
|
||||
|
||||
It is something I planned to do, but have not yet started (I was going to put a page in the webserver to allow 'upload' of the XML file)...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#12
|
||||
|
||||
Quote:
|
#13
|
||||
|
||||
The emphais should have been on 'but not yet started' -- remeber it took a year for the XML generator to go from RFC to implementation
I am always very happy to accept code donated from others BTW
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#14
|
|||
|
|||
Noobie hoping for help
I currently use a Roku photobridge for playback of hd video files recorded by sage. I of course don't get to see any information about the recorded program however. I just ran accrosss this xml export utility and think it might work for me...maybe. I just need the program desription exported to a filename into the format "filename.nfo" in text format in the same location as the actual video file. The video app for the roku, Mplay, can then read the file and I can then see some program data. Any idea if this is possible?
Thanks in advance for any help. Darin
__________________
Darin HQ4SPORTS.COM |
#15
|
||||
|
||||
you will either need to re-write my plugin to create the files in the format you require, or you will need to write a converter that takes the xml files and generates the nfo files...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#16
|
|||
|
|||
Thanks for your reply. I don't have any programming skills unfortunately. I wish MPlay could read XML and may in the future at some point. That would definately be the best option.
Thanks again. Darin
__________________
Darin HQ4SPORTS.COM |
#17
|
||||
|
||||
nielm/xmlinfo/addDtd=false
Quote:
One quick question though. The parameter "nielm/xmlinfo/addDtd=false" appeared after install, but I can't find a description of what it is or 'true' implications in the wiki or elsewhere. Another great nielm plug-in. Thanks hun! |
#18
|
|||
|
|||
Awesome plugin nielm!
In the settings line Code:
nielm/xmlinfo/monitorRecordingsInterval=300 |
#19
|
||||
|
||||
Wiki site down?
Went to go get this plugin, but the Wiki site (www.sage-community.org) appears to be down--can't ping it, and nslookup fails to resolve it.
Anybody else having trouble with the wiki site? LDog |
#20
|
||||
|
||||
looks like the dns is dead...
try http://207.58.130.166/~nielm/nielm_m...agexmlinfo.zip and google's cache for the docs: xmlformat Plugin installation guide
__________________
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) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV: SageMC 16x9 Version 6.x (latest dev build) | dflachbart | SageMC Custom Interface | 6112 | 04-04-2008 11:16 PM |
Question about the Sage Copy File Api's | BobPhoenix | SageTV Studio | 1 | 06-10-2007 12:29 PM |
STV: Cayars17 Ultimate STV (Release 17 - Jan 18) | Cayars | SageTV Customizations | 3664 | 12-13-2005 05:35 PM |
xml2my Malore xml to MLBDUDE my converter (1.0.0 July 13) | nielm | SageTV Customizations | 5 | 07-14-2004 12:16 PM |
can not generate an xml file | edgley | SageTV United Kingdom | 4 | 07-14-2004 04:24 AM |