Personal Video Database

English => Support => Topic started by: scotthawks on October 16, 2010, 07:16:17 pm

Title: XML export and episodes to roksbox
Post by: scotthawks on October 16, 2010, 07:16:17 pm
Question:  When exporting an xml to roksbox, titles that have seasons and episodes only export the top level, and not the season and episodes.  is there a way to have it export the seasons and episodes to the xml file for roksbox to read?

Thanks in advance for the help.

BTW, PVD rocks!!  Thanks for the great FREE product!
Title: Re: XML export and episodes to roksbox
Post by: nostra on October 16, 2010, 07:53:59 pm
I do not know what is the sructure of the "roksbox" xml documents, but you can export episodes (title, original title, season number, episode number, year and description, rating, imdb rating and url)

See http://www.videodb.info/help/hlp_export.html for more info.
Title: Re: XML export and episodes to roksbox
Post by: scotthawks on October 19, 2010, 02:12:18 am
Thanks for the link.  I'm somewhat new to PVD.  I can't seem to get this to work.  I've added this to my xml file:  {%value=episodes template="pages\episode.ptm" grouptemplate="pages\season.ptm"}.  However, it is only showing Season 1 and nothing else.  I added also this: <epnum>{%value=epnum}</epnum>, but nothing.  I know I'm doing this wrong.  Do you have any examples or can you give me an example of how to get this info into the xml file?

Thanks so much for your help.
Title: Re: XML export and episodes to roksbox
Post by: nostra on October 19, 2010, 02:34:31 am
Quote
Do you have any examples or can you give me an example of how to get this info into the xml file?

Take a look at samples.ptm
Title: XML export and episodes to roksbox
Post by: K9Sports on April 15, 2011, 11:13:27 pm
Revisted:  
I know that in order for Roksbox to have episodes displayed, you must use an entry like this in genre section of the XML file:  [Television/Star Trek/Season 1]

I have manually added this to the genre section of PVD.  The problem that I see is PVD will not export episodes, just the top title (Star Trek).

Is this the case? Or am I missing something?  Is there not a way to export individual episodesto XML files in PVD?
Title: Re: XML export and episodes to roksbox
Post by: rick.ca on April 16, 2011, 01:42:01 am
Welcome, K9Sports.

PVD's Plain Text Export plugin will export just about anything, but it requires a template to define each export. Some sample templates are provided, and I suppose the XML (Movies) template provides a reasonable starting point for exporting movies in the format required by Roksbox. If you need something more specialized—like exporting episodes—you would need to create a template designed for that purpose. It would get the series information in the usual manner (a series record is exactly the same as movie record), but use a subtemplate (http://www.videodb.info/help/hlp_export.html#subs) to get the episode information. Assuming the Roksbox can only display one set of information, your template would combine the necessary series and episode information for each episode.

Such a template would only be of interest to Roksbox users. Have you tried asking in the Roksbox forum?
Title: Re: XML export and episodes to roksbox
Post by: K9Sports on April 16, 2011, 02:12:28 am
I tried making a custom export but for the life of me, I can't get it to export each episode.  Is there a special command to go to the episode level?

I posted on Roksbox but nothing yet.

Thanks!
Andrew
Title: Re: XML export and episodes to roksbox
Post by: rick.ca on April 16, 2011, 02:44:14 am
I don't know. Does Accessing Episode Values (http://www.videodb.info/forum_en/index.php/topic,1732.msg8067.html#msg8067) help?
Title: Re: XML export and episodes to roksbox
Post by: K9Sports on April 16, 2011, 03:36:21 am
Not that I can see.  I can output Episode information but only within the <movie> tag.  I can't put them out on their own tag.  That's the dilemma I'm in.