INTERACT FORUM

Please login or register.

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

Author Topic: A script to convert Windows Playlists to Linux Playlists  (Read 2611 times)

Robert Joe

  • Junior Woodchuck
  • **
  • Posts: 51
A script to convert Windows Playlists to Linux Playlists
« on: March 19, 2014, 07:00:28 pm »

I wrote a script to convert Windows Playlists to Linux Playlists and put it in my dropbox if you would like to use it.

https://www.dropbox.com/s/ag0ufzguiqtvdpv/dostounixm3u

After downloading it, give it execute permission - "chmod 755 dostounixm3u".

From Windows JRiver, export your Playlists.
Copy the Playlist directory to your Linux machine.

Run the command with no options and it will prompt you for 3 things. In this example, Windows path M: gets converted to /Music. The script will also convert all the back-slashes to forward-slashes.

    $ dostounixm3u
    Enter Directory Containing Playlists: /Data/Playlists
    Enter Windows Path: M:
    Enter Linux Path: /Music
    Converting ./Beatles (Mono).m3u
    Converting ./Speaker Audition.m3u
    Converting ./Yoga/Yoga Ambience 3.m3u

Linux Playlists are in /Data/Playlists_linux

Next step is to import /Data/Playlists_linux from JRiver in Linux. Then they will appear under "Imported Playlists". Unfortunately you cannot drag-drop to move Playlists around in Linux yet. See http://yabb.jriver.com/interact/index.php?topic=88074.0 for how to get around it.


Logged
Pages: [1]   Go Up