PDA

View Full Version : Making playlists that work cross platform



Chris Mason
2004-03-01, 23:50
I'd like to be able to explore the music directory on my linux server using
musicmatch on my windows ripping workstation, make playlists, and save them
for use on the Slimp3 interfaces. Can this be done?
How do you get from m:\eagles\whatever to /mnt/music/eagles/whatever

Chris Mason
masonc (AT) masonc (DOT) com
Box 340, The Valley, Anguilla, British West Indies
Tel. (264) 497-5670 - Cell: (264) 235-5670
Fax: (264) 497-8463 - US Fax (815)301-9759
Yahoo IM: netconcepts_anguilla (AT) yahoo (DOT) com

Roy M. Silvernail
2004-03-02, 04:12
On Tue, 2004-03-02 at 01:50, Chris Mason wrote:
> I'd like to be able to explore the music directory on my linux server using
> musicmatch on my windows ripping workstation, make playlists, and save them
> for use on the Slimp3 interfaces. Can this be done?
> How do you get from m:\eagles\whatever to /mnt/music/eagles/whatever

You'll have to post-process the playlists to modify those paths. I'd do
it with a little perl program.

This is untested, but should work. Run it on your linux box.

perl -pi.bak -e 's;m:;/mnt/music;;s;\\;/;g;s/\012//g' lists_to_change

That will make backup files, change the path from m: to /mnt/music,
adjust all the backslashes to forward slashes and remove any lurking ^M
characters that Windows programs tend to include.
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com