INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: Robert Joe on March 19, 2014, 07:00:28 pm

Title: A script to convert Windows Playlists to Linux Playlists
Post by: Robert Joe 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.