I installed shoutcast server on linux with sc_trans. I can send signal USR1, kill -USR1 PID, and it understands it (writes entry in log files).
But next song, kill -WINCH PID does not work. It not changes sonf and no entry in the log. Any help?
I'm using the FreeBSD version and linux as well on FreeBSD (linux compat) loaded.
I found when sending a winch singal, it have to wait for the crossfader (if used) to play the rest of the song mine was set to 8 seoncds, plus the fact there can be a 30-90 delay from the shoutcast transcoder to the listeners. Have you waited this long to see if the song does change?
Shoutcast is great, but not 100% real time from server to listening clients.
Good luck with this.
~ 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.
A logical solution, but you wouldn't be the first to make tish problem if you're new to linux.
did you replace the "pid" with the actual pid of the server?
kill -WINCH `ps -C sc_trans_linux`
This should replay (not re-read) your playlist.
to re-read the list use:
kill -USR1 `ps -C sc_trans_linux`
Normally you'd first use the -USR, and then the -WINCH