Old 5th December 2003, 22:08   #1
trainwrek
Junior Member
 
Join Date: Dec 2003
Posts: 2
sc_trans and spaces

Does anyone know how to deal with spaces in your filenames when putting together a playlist for sc_trans? I'm using the mac os version.

I would also like to know how to deal with a space in the path to the config file.

Thanks,
Paul
trainwrek is offline   Reply With Quote
Old 5th December 2003, 22:10   #2
djmastermind
Forum King
 
djmastermind's Avatar
 
Join Date: Jul 2003
Location: Houston, TX
Posts: 6,813
I don't use sc_trans, but I would guess maybe to change your file names? I'm sure there's a more effective way to do something, but that would be my suggestion.

-- Michael
djmastermind is offline   Reply With Quote
Old 5th December 2003, 22:12   #3
trainwrek
Junior Member
 
Join Date: Dec 2003
Posts: 2
I am really trying to avoid that as it would mean having rebuild my iTunes database. We are talking about 25 gigs worth of files.
trainwrek is offline   Reply With Quote
Old 5th December 2003, 22:39   #4
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
Does %20 in place of the spaces work?

(the above is a complete guess and may be garbage)

FesterHead is offline   Reply With Quote
Old 5th December 2003, 23:43   #5
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
i believe that spaces will work fine in song file names, at least it does in the linux version.
Jay is offline   Reply With Quote
Old 6th December 2003, 08:36   #6
Raptor_Radio
Junior Member
 
Join Date: Nov 2003
Posts: 3
Bsd / Linux versions are worink fine with it
the sc_trans option:
find /path/to/mp3/directory -type f -name "*.mp3" > playlist_filename.lst

or in a bash script
ls /mp3/* > /location of /sc_trans/play.lst
ls /mp3/ > /location of webpage/play.lst
killall -USR1 sc_trans

i think MAC uses the a siular kind..
Raptor_Radio is offline   Reply With Quote
Old 30th December 2003, 17:31   #7
mightbeyour
Senior Member
 
mightbeyour's Avatar
 
Join Date: Nov 2003
Posts: 262
# for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`; done

run this in the dir that the mp3s are in and it will replace white spaces with underscores
mightbeyour is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump