Prev Previous Post   Next Post Next
Old 29th July 2004, 18:29   #1
Junior Member
Join Date: Jul 2004
Location: Chambersburg, PA
Posts: 17
Can sc_trans execute shell command?

I am starting a station using sc_trans. I really like the program for two obvious reasons:
1. Made by Shoutcast so I know its 100% compatible
2. Crossfade feature not found in other command-line streamers

My one issue however is that I do not plan on using sc_trans playlist feature. I need sc_trans to execute a shell command either before or after every song it plays. The only way I can figure out how to do this is to have a shell script monitor sc_trans.log for activity and act accordingly, obviously this isn't the best solution though. My question is, is there a way sc_trans can execute a shell command.

To give an example of what i'm doing. Let's say I have play.list with two lines... one line is '/home/wbat/music/1.mp3' and second line is '/home/wbat/music/2.mp3' These files are static and the location never changes. However my shell scripts will copy various songs/sweepers/etc. onto either 1.mp3 or 2.mp3. Thus, I have powerful control of the playlist outside of sc_trans. The only issue is how to have sc_trans call a shell script/command?


[Edit --> DJ Egg]
Moved from Winamp Tech to Shoutcast Tech.
More appropriate in there, I think...?! :/
WBAT is offline   Reply With Quote
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