INTERACT FORUM

Please login or register.

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

Author Topic: Generating a .WPL Playlist on a Mac  (Read 3507 times)

dskrt

  • Recent member
  • *
  • Posts: 34
Generating a .WPL Playlist on a Mac
« 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 ?

 
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Generating a .WPL Playlist on a Mac
« Reply #1 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.
Logged

dskrt

  • Recent member
  • *
  • Posts: 34
Re: Generating a .WPL Playlist on a Mac
« Reply #2 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 ?
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Generating a .WPL Playlist on a Mac
« Reply #3 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.
Logged

dskrt

  • Recent member
  • *
  • Posts: 34
Re: Generating a .WPL Playlist on a Mac
« Reply #4 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
Logged

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Generating a .WPL Playlist on a Mac
« Reply #5 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.
Logged
Pages: [1]   Go Up