This project has moved and is read-only. For the latest updates, please go here.

SageTV Request

Jun 18, 2014 at 8:28 PM
Edited Jun 18, 2014 at 8:41 PM
is it possible if given to you an XML file that contains sage data ... Including the fileID and MediafiledID that you can Parse these to a variable?. I believe doing this will complete SageTV completely. This will enable SAGETV users to keep the recordings with all the details in SageTV. See below in bold. I have some full XMLS in UPLOAD\NYPLAYER

<airing channelId="62792" duration="1800" favoriteId="79042" sageDbId="118128" startTime="2014-06-17T14:30:00.00Z">

<mediafile duration="1800" sageDbId="145167" startTime="2014-06-17T14:30:00.00Z" type="TV">
Jun 18, 2014 at 9:04 PM
I don't understand, once the metadata is read from the XML file what do you want to do with it?

Jun 18, 2014 at 9:18 PM
Edited Jun 18, 2014 at 9:29 PM
I could name the file using SageTV Standards.

%ismovie%<%showname% (%airyear%),%showname% - S%season%##E%episode%## - %episodename% -%fileid%-0>.
Little People, Big World - S07E05 - A Bride and a Bulldozer -118128-0.mkv

The %mediafileid% can be use to issue a post command to delete the original file entry from the SAGE DB (wiz.bin).
Jun 19, 2014 at 4:26 AM
Open an enhancement ticket and will look into it. Be sure to attach some sample XML files

Jun 20, 2014 at 6:52 PM


Added support for reading SageTV XML metadata
Added support for 2 new SageTV parameters in Custom Rename and Custom Command, %airingdbid% and %mediafiledbid% which represent the sageDbId’s from the SageTV metadata from the Airing and MediaFile tags respectively
Marked as answer by rboy1 on 6/20/2014 at 10:52 AM
Jun 21, 2014 at 1:15 AM
Edited Jun 21, 2014 at 1:16 AM
Great job on this it works perfectly.. I just have one thing is it possible to parse the <parentalRating>TVPG</parentalRating>. I uploaded a log to your server with a fully working rename. using the airing id etc.
Jun 21, 2014 at 5:11 AM
The rating tag is used for capturing the rating and it is already available in custom commands and rename