OK, xmms sort of does what I need, with the following changes:
edit the m3u file xmms creates to
1. remove everything up to and including /../.../MUSIC
2. change the slashes '/' to backslashes '\'
3. change the unix <cr> to the dos <cr><lf>
and bingo, you have a working .m3u file....
Fortunately all that nonsense can be easily scripted with sed + tr
Here's a script that should convert an xmms .m3u to a sansa m3u. You must run it from within the Sansa tree. It will scan the entire MUSIC tree looking for unprocessed .m3u files and change them.
#1. remove everything up to and including /../.../MUSIC/
#2. change the slashes '/' to backslashes '\'
#3. change the unix <cr> to the dos <cr><lf>
for m in `find $PWD -name '*.m3u'` ; do
[[ `grep MUSIC $m` ]] || continue
echo found $m
mv $m /tmp/$nm
cat /tmp/$nm | sed "s+^$dm++" | tr '/' '\\' | sed "s/\$/$CR/" > $m
Last edited by cptdodno; 05-20-2008 at 03:25 PM.
|Thread Tools||Search this Thread|
All times are GMT -5. The time now is 01:02 AM.