Old 1st June 2010, 11:06   #1
Junior Member
Join Date: Feb 2010
Posts: 8
SC_trans Drop 6 Playlist not working

Hey folks,

as the docs.txt of DROP 6 of sc_trans stated, there should be the possibility to not list all single mp3 files within a playlist, and instead call a php script that returns the actual song that is to be played.

If i setup a playlist.lst file like:

PHP Code:
#!/usr/bin/php /absolute/path/to/scripts/getNextSong.php 
and start sc_trans it does exit right away with the log-message "Playlist run dry".

The php Script is ok, it returns the full absolute path to mp3 files. The sc_trans User has full access to the playlist-File, to the php scripts... if i call the php scripts in user-context i also get a song-path returned on console.

Any Idea?


Jenson is offline   Reply With Quote
Old 5th June 2010, 18:16   #2
Forum King
hackerdork's Avatar
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
that sounds more like beta drop 5 or lower which did exit when the playlist was empty and also could not run external scripts..

also consider that the username running the sc_trans processes needs read and execute permission to the directories where the mp3 files are located.

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline   Reply With Quote
Old 8th September 2012, 14:49   #3
Junior Member
Join Date: Sep 2012
Posts: 4
It seems php didn't execute at all.
I put some codes in php file that show me if php script ever run and it's not
seyyed 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