SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-24-2006, 04:51 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Arrow 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 SageXmlInfo in the Wiki for the XML file format (which is the same as used by the Sage Webserver)

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
  • Added record Schedule recording times to XML
  • Updated DTD to 1.3
  • Removed requirement for Airing starttime/duration and MediaStarttime?/duration to be in the file
  • Removed linkage to Sage JARs to allow standalone use

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.
Reply With Quote
  #2  
Old 03-24-2006, 07:53 PM
Motofreak75 Motofreak75 is offline
Sage Expert
 
Join Date: Oct 2005
Posts: 578
Send a message via ICQ to Motofreak75
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.
Reply With Quote
  #3  
Old 04-19-2006, 10:35 AM
drnemo drnemo is offline
Sage User
 
Join Date: Apr 2006
Location: Holstebro, Denmark
Posts: 11
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
Reply With Quote
  #4  
Old 04-19-2006, 10:56 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
  #5  
Old 04-19-2006, 11:33 AM
drnemo drnemo is offline
Sage User
 
Join Date: Apr 2006
Location: Holstebro, Denmark
Posts: 11
Smile Yes :-(

yes, of course I have to shut it down before editing... doh...

Well, now it works. Great job

Thanks
Anders
Reply With Quote
  #6  
Old 04-21-2006, 11:48 AM
briands briands is offline
Sage Icon
 
Join Date: Aug 2004
Location: Bloomington, IN
Posts: 1,093
Feature request...

Neil,

Any chance you could have this create an aggregate "Collection.xml" file?
Reply With Quote
  #7  
Old 04-21-2006, 12:08 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
  #8  
Old 04-21-2006, 04:59 PM
garyellis garyellis is offline
Sage Expert
 
Join Date: Jan 2006
Posts: 511
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....
Reply With Quote
  #9  
Old 04-21-2006, 05:03 PM
briands briands is offline
Sage Icon
 
Join Date: Aug 2004
Location: Bloomington, IN
Posts: 1,093
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.
Reply With Quote
  #10  
Old 05-18-2006, 01:51 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
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
Reply With Quote
  #11  
Old 05-18-2006, 03:00 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
  #12  
Old 05-18-2006, 06:40 PM
Humanzee's Avatar
Humanzee Humanzee is offline
Sage Fanatic
 
Join Date: Sep 2004
Location: North Idaho
Posts: 752
Quote:
Originally Posted by nielm
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)...
man you are hero material. Seriously, I can't believe they arn't paying you.
Reply With Quote
  #13  
Old 05-19-2006, 05:43 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
  #14  
Old 06-04-2006, 05:08 PM
dj7675 dj7675 is offline
Sage Advanced User
 
Join Date: Nov 2003
Posts: 94
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
Reply With Quote
  #15  
Old 06-07-2006, 01:11 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
  #16  
Old 06-07-2006, 01:39 PM
dj7675 dj7675 is offline
Sage Advanced User
 
Join Date: Nov 2003
Posts: 94
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
Reply With Quote
  #17  
Old 07-05-2006, 09:40 PM
ToonGal's Avatar
ToonGal ToonGal is offline
Sage Aficionado
 
Join Date: Jan 2004
Location: Bay Area, CA, USA
Posts: 306
nielm/xmlinfo/addDtd=false

Quote:
Originally Posted by nielm
See the Sage Wiki for download and install instructions.
My friend is aggressively interested in maxing out his new v5 w/ add-ons and has left me in charge. This is the plug-in of the day and I love it.

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!
Reply With Quote
  #18  
Old 08-25-2006, 02:51 PM
Spectrum Spectrum is offline
Sage Expert
 
Join Date: Aug 2006
Posts: 720
Awesome plugin nielm!
In the settings line
Code:
nielm/xmlinfo/monitorRecordingsInterval=300
is that in seconds?
Reply With Quote
  #19  
Old 09-25-2006, 01:35 AM
lonndoggie's Avatar
lonndoggie lonndoggie is offline
Sage User
 
Join Date: May 2004
Location: Encinitas, CA
Posts: 42
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
Reply With Quote
  #20  
Old 09-25-2006, 05:40 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 01:04 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.