INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Sidecar file format changing  (Read 2961 times)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Sidecar file format changing
« on: August 12, 2009, 01:47:42 pm »

A coming build of Media Center 14 will change the sidecar format used for video tagging from MyMovies XML to JRiver XML.  It will be the same format as an MPL playlist, which is a simple XML playlist format used most other places in the program.

Once you upgrade to this new build, you will need to 'Update Tags (from library)' to rewrite your sidecar files with files that will be readable by future versions of Media Center.

As always, it's recommended that you make a Library Backup so that nothing can be lost.

Sorry for any inconvenience.
Logged
Matt Ashland, JRiver Media Center

rpalmer68

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2639
Re: Sidecar file format changing
« Reply #1 on: August 12, 2009, 05:22:49 pm »

A coming build of Media Center 14 will change the sidecar format used for video tagging from MyMovies XML to JRiver XML.  It will be the same format as an MPL playlist, which is a simple XML playlist format used most other places in the program.

Once you upgrade to this new build, you will need to 'Update Tags (from library)' to rewrite your sidecar files with files that will be readable by future versions of Media Center.

As always, it's recommended that you make a Library Backup so that nothing can be lost.

Sorry for any inconvenience.

For those if us creating our own sidecar files outside of MC for importing , can we get an example of the format please?

Cheers
Richard
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Sidecar file format changing
« Reply #2 on: August 12, 2009, 05:24:52 pm »

For those if us creating our own sidecar files outside of MC for importing , can we get an example of the format please?

Cheers
Richard

You could export a single file playlist using File > Export Playlist and choose MPL.  This is the format, and it should be easier to work with.

The sidecar will continue to use the same filename and XML extension.
Logged
Matt Ashland, JRiver Media Center

raym

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3583
Re: Sidecar file format changing
« Reply #3 on: August 12, 2009, 08:14:52 pm »

But if I have a My Movies "save title" XML export, will MC still support this?
Logged
RKM Smart Home - www.rkmsmarthome.com.au
Z-Wave Home Automation

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Sidecar file format changing
« Reply #4 on: August 12, 2009, 09:24:04 pm »

You can still import My Movies playlists, just like before.
Logged
Matt Ashland, JRiver Media Center

raym

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3583
Re: Sidecar file format changing
« Reply #5 on: August 12, 2009, 09:42:30 pm »

You can still import My Movies playlists, just like before.

Yes, but it seems individual XML exports (using the My Movies "save title" feature) is no longer supported.

After spending weeks getting this right, I'm a bit bummed this no longer works  :(

Why can't this feature continue to be supported so we can get individual title data into MC? MC could just save the data back to the same file as an MPL after this.

Cheers.
Logged
RKM Smart Home - www.rkmsmarthome.com.au
Z-Wave Home Automation

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Sidecar file format changing
« Reply #6 on: August 12, 2009, 10:46:30 pm »

Yes, but it seems individual XML exports (using the My Movies "save title" feature) is no longer supported.

After spending weeks getting this right, I'm a bit bummed this no longer works  :(

Why can't this feature continue to be supported so we can get individual title data into MC? MC could just save the data back to the same file as an MPL after this.

Cheers.

We'll try to make that work again.  It may be a week or two because Yaobing, the real brains behind sidecar tagging, is on vacation.
Logged
Matt Ashland, JRiver Media Center

rpalmer68

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2639
Re: Sidecar file format changing
« Reply #7 on: August 12, 2009, 11:57:00 pm »

Ralf,

Here is an updated "JRSideCar_stylesheet.xml" xsl stylesheet for our script that generates the new sidecar format.

Code: [Select]
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">
<xsl:output indent="yes"/>
   <xsl:template match="capture">
     <MPL Version="2.0">
       <Item>
         <Field Name="Series"><xsl:value-of select="ws_name"/></Field>
         <Field Name="Description"><xsl:value-of select="epg_item/epg_description"/></Field>
         <Field Name="Genre">TV Recordings</Field>
       </Item>
     </MPL>
   </xsl:template>
   
</xsl:stylesheet>


Richard
Logged
Pages: [1]   Go Up