View Full Version : Shoutcast updated playlist not streaming new tracks
trossachs
10th February 2008, 12:13
Does anyone know how to 'force' an update of the playlist? I have users who ftp into a directory and deposit their tracks. I then run the following command as a cron job every 15 minutes to update the playlist, but Shoutcast is not playing the new tracks even though the playlist holds the new titles.
If I stop and start Shoutcast, then this will pick up and play the new titles:
find /home/tford/internet.radio/ -type f -name "*.mp3" > /var/www/shoutcast/playlists/playlist_01.lst
Any ideas?
Sawg
13th February 2008, 07:51
; sc_trans accepts the following signals:
; HUP - flush logfiles (close and reopen) -- will make console logging stop
; WINCH - jump to next song
; USR1 - reload playlist off disk (will not interrupt current playing stream)
; USR2 - toggle shuffle on/off
; TERM - normal sc_trans shutdown (clean)
http://unixhelp.ed.ac.uk/CGI/man-cgi?kill
trossachs
13th February 2008, 07:55
Thanks Sawg. I've managed to work that bit out now and have it added to a Cron job which checks to see if any music tracks have been added every hour and then updates the play list.
Two things:
Is it possible to have 'virtual' servers setup as I would do with an Apache web server?
And also why do so many nodes connect and then immediately disconnect from me, is there a fault at my end?
Sawg
13th February 2008, 08:19
Nah. Then again SHOTUcast cares less about any domain name. You can have multiple servers running on diffrent ports. Plus a little Apache and PHP fun you can easily make redirects.
Do they say NSPlayer, are you running AACPlus format?
trossachs
13th February 2008, 08:31
Yes, they say NSPlayer. What does this mean?
Sawg
13th February 2008, 08:50
Windows Media Player, which is a pace of shit. And if you are streaming in AACPlus, the player doesn't support it. Search a bit, there is a giant thread on one second connections with WMP.
trossachs
13th February 2008, 09:13
But why can they not connect? What else are they looking for?
trossachs
13th February 2008, 12:07
Have also seen some users using WinAMP and they too only connect for a second or two before they log off. Maybe this is not primarily an NSPlayer issue.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.