INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Mac => Topic started by: dskrt on April 19, 2016, 01:53:02 pm

Title: Generating a .WPL Playlist on a Mac
Post by: dskrt on April 19, 2016, 01:53:02 pm
A WPL playlist is per definition a Windows Mediaplayer playlist, unfortunately a WPL playlist generated by MC for Mac uses the '/' in the path and thus cannot be interpreted and played on a windows system (car Audio for instance). Could this not be changed in a future release for WPL playlists only ?

 
Title: Re: Generating a .WPL Playlist on a Mac
Post by: blgentry on April 19, 2016, 02:10:30 pm
Car audio that uses WPL format?  That's new for me, though I'm sure they exist.  Let me guess, Microsoft Sync?

I'm not sure how much this will help you, but I just developed this quick perl one liner that you can run to transform path name "/" characters into "\" characters in a WPL.

Code: [Select]
perl -pi -e 's/\//\\/g if /REF HREF=/; s/\\>/\/>/g; s/<\\/<\//g' Playlist.wpl
obviously, replace "Playlist.wpl" with the name of your playlist.

Brian.
Title: Re: Generating a .WPL Playlist on a Mac
Post by: dskrt on April 19, 2016, 02:17:02 pm
Yes it exists !! I have such a stupid windows car audio system (Mitsubishi MMCS), it plays songs in folders alphabetically and does not care about TAG's. Ok, I could add a sequential number to each file in the folder but again the system numbers the files also so that I then will have on my display '01 01 Song 1' '02 02 Song 2' etc..... The most elegant way to overcome this is a WPL and only WPL works. I will try the perl but I think this could be a suggestion for a future release ?
Title: Re: Generating a .WPL Playlist on a Mac
Post by: blgentry on April 19, 2016, 02:41:37 pm
It's certainly a valid suggestion.  I don't know how much attention it will get, but it's definitely valid.

This all sounded very familiar and I did a search.  You and I discussed this at some length previously.  I did the exact same perl research previously and even added some extra stuff!  :)

https://yabb.jriver.com/interact/index.php?topic=100655.0

Brian.
Title: Re: Generating a .WPL Playlist on a Mac
Post by: dskrt on April 19, 2016, 02:52:35 pm
I'm definitely getting old and losing my memory, I did not remember! Shame on me..... :o Or is it the beginning of Alzheimer ? ;D
Title: Re: Generating a .WPL Playlist on a Mac
Post by: blgentry on April 19, 2016, 03:05:37 pm
I didn't remember fully either.  Hell, I even re-did my perl development!  :)

Good luck and let me know if I can help any further.

Brian.