INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: boydn on May 20, 2014, 04:58:47 pm

Title: Problem exporting playlist to .WPL
Post by: boydn on May 20, 2014, 04:58:47 pm
I was thrilled to see this feature added but, can't seem to make it work.  I've got a MC server and one client.  The WMC runs on the client.  I've exported the playlist to C:\users\My Music\playlists and they won't play.  Media center says "Windows media center was unable to find media for the playlist.  Did you remove songs from your music library or from the playlist named Temp 1?"  Looks ok in txt editor, shown below:

<?wpl version="1.0"?>
<smil>
    <head>
        <meta name="Generator" content="Microsoft Windows Media Player -- 12.0.7601.18150"/>
        <meta name="ItemCount" content="0"/>
        <meta name="IsFavorite"/>
        <meta name="ContentPartnerListID"/>
        <meta name="ContentPartnerNameType"/>
        <meta name="ContentPartnerName"/>
        <meta name="Subtitle"/>
        <author/>
        <title>Staci</title>
    </head>
    <body>
        <seq>
            <media src="\\Main\g\Multimedia\Music Library\0 MP3Singles\Country\Krauss Alison - The Smile on Your Face.mp3"/>
            <media src="\\Main\g\Multimedia\Music Library\0 MP3Singles\POPULAR\Aloe Blacc - The Man.mp3"/>
            <media src="\\Main\g\Multimedia\Music Library\0 MP3Singles\Country\Blake Shelton\Based On A True Story... (Deluxe Version)\Blake Shelton - Boys &apos;round Here (Feat. Pistol Annies &amp; Friends).mp3"/>
                        <media src="\\Main\g\Multimedia\Music Library\The Well Hungarians\Well Hungarians\The Well Hungarians-Sunday Morning.wma"/>
        </seq>
    </body>
</smil>
Title: Re: Problem exporting playlist to .WPL
Post by: boydn on May 27, 2014, 09:43:12 am
Any ideas?
Title: Re: Problem exporting playlist to .WPL
Post by: Hendrik on May 27, 2014, 09:48:15 am
Thats not a WPL file as generated by MC, looks like Windows Media Player generated this one?
Title: Re: Problem exporting playlist to .WPL
Post by: boydn on June 18, 2014, 07:33:51 am
Sorry it took me forever to get back to this.  You are very correct.  Here's one exported from the server.  When I try to play in WMC all the song titles are "GETFILE" and can'[t play.  Diretory structure on the server is G:\\Medie Library\Artist\Album

<?wpl version="1.0"?>
<smil>
<head>
<title>Test</title>
</head>
<body><seq>
<media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=262050" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2691681" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2240397" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2240415" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2240410" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2240416" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2240372" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2240378" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2240367" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=2240335" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=516322" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=5812" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=3142329" /> <media src="m01p://192.168.1.148:52199/MCWS/v1/File/GetFile?File=3142330" /> </seq></body> </smil>

Title: Re: Problem exporting playlist to .WPL
Post by: Hendrik on June 18, 2014, 07:59:14 am
Sadly you can't export any kind of playlist if you are on a library server client and don't have direct access to the files. It uses the MC internal URLs for the playlist then, which nothing but MC ever understands.

The best solution here is to map a network drive to the server so that the files appear in the exact same location on both the server and the client, only then it'll work.
Title: Re: Problem exporting playlist to .WPL
Post by: boydn on June 18, 2014, 12:17:15 pm
Thanks.  I'll have to double check but, I'm sure that drive is mapped the same on all the machines in the house.
Title: Re: Problem exporting playlist to .WPL
Post by: boydn on June 23, 2014, 10:41:34 am
Both paths appear the same and WMC still says it can't find the files.  No idea what to try now.
Thanks
Title: Re: Problem exporting playlist to .WPL
Post by: Matt on June 23, 2014, 01:42:47 pm
Next build:
Changed: Improved WPL exporting.
Title: Re: Problem exporting playlist to .WPL
Post by: Matt on June 23, 2014, 01:52:24 pm
To follow-up on my remark above, we weren't using a "proper" XML generator.  This means funny characters didn't get escaped, etc.  The next build will use a fully compliant XML generator. 

The playlists I make all play in WMP without issue using the newer build.
Title: Re: Problem exporting playlist to .WPL
Post by: boydn on June 26, 2014, 12:18:42 pm
Thanks much Matt! 
Good to see ya back