Old 31st March 2011, 15:33   #1
enzO777
Junior Member
 
Join Date: Mar 2011
Posts: 1
sc_trans2 WINDOWS auto playlist update

Hello all! I need help! Before i use linux debian.I upload songs ( mp3 ) and easy update my sc_trans2 playlist with this command line :

find /home/enzo/sc_tran2/music/autoDJ -type f -name "*.mp3" > /home/enzo/sc_tran2/playlists/playlist.lst

now i have windows server 2003 shoutcast + sc_tran2 ( win32_12_14_2010)

how i can update my playlist from cmd?
enzO777 is offline   Reply With Quote
Old 31st March 2011, 22:49   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
you could do something like the following in a batch file:
Quote:
cd <directory_to_check>
dir <directory_to_check> /b /s *.mp3 > <directory_to_save_in>\playlist.lst
one thing i found is that using the /s will generate fully qualified filepaths of the mp3 files but if you're not running it on the same drive as where the command-line is set then it'll dump any mp3 it finds on that drive as well.

if not there's probably a load of Windows programs which will do it for you.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Tags
auto, playlist, sc_trans, update, windows

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