Old 14th March 2013, 20:22   #1
jgalvin2010
Junior Member
 
Join Date: Mar 2013
Posts: 2
Shoutcast Sc_trans Playlists

Hi All,

Im new to this forum so sorry if this message was placed in the wrong place

I am having an issue finding the relevant info

Basically this is what i want to do I have sc_trans running 1 playlist and I have given all the djs ftp access to upload there own music to the playlist folder,

Alot of the DJs play live and when they use the dj port the playlist fades out and the dj begins his live set,

Now there are a few DJs who cant make there show weekly and to be honest its a pain having to log in change the calander around and point the playlist to 1 file he has uploaded to play at his set time when he cant do a live set,

So I know I can use http://serverip:adminport/restart to restart sc_trans and http://serverip:adminport/nextsong to play the next song

So my question is is there a way I can have 2 playlists and use 1 playlist pointing to a folder where the dj uploaded his set and when the time comes that he wants to play the mix he can load a certain playlist from the web ?

For instance something like http://serverip:adminport/playlist1 to play the normal playlist and http://serverip:adminport/playlist2 for the playlist that a DJ needs to play instantly at his set time?

I hope i explained myself well enough

Cheers,

James
jgalvin2010 is offline   Reply With Quote
Old 15th March 2013, 00:29   #2
DrO
 
Join Date: Sep 2003
Posts: 27,880
not really. the only obvious option i can think off is to do something like a symlink for the playlist and just change what that points to as needed and send the necessary signal to sc_trans to reload the playlist once changed. but then you'd have to remember to flip it back afterwards, so is probably not ideal.

only other thing that comes to mind is to have a second instance setup and run that as a DJ itself and connect that with a low DJ priority and ensure that all of the real DJ's have a higher DJ priority so they can override it when it is connected.
DrO is offline   Reply With Quote
Old 15th March 2013, 00:58   #3
jgalvin2010
Junior Member
 
Join Date: Mar 2013
Posts: 2
Thanks Dr0 that sounds like a plan I will give that a try

Is there a way actually that I can get sc_trans to play the last uploaded song into the playlist

That way all i would need to do is tell no other DJ to upload into that directory and then when sc_trans is restarted from the web the first song played will be the last song uploaded might be an easier option to do that rather than all the messing around I think.

Is there an option to play the last uploaded song into sc_trans? If not i will see can somebody write that simple script for me and the have a cron job running every 10 minutes putting the new files to top
jgalvin2010 is offline   Reply With Quote
Old 17th March 2013, 21:13   #4
DrO
 
Join Date: Sep 2003
Posts: 27,880
unless you try to get the script playlist support to work (is somewhat buggy in the current reelase), then i don't think you can simply achieve what you're wanting to do (sc_trans wasn't coded for such things in mind so it cannot simply do it or really do it probably via some hacks).
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > SHOUTcast > SHOUTcast Technical Support

Tags
multiple, playlists, sc_trans, shoutcast, web

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