ShoutcastRunner is a quick and simple Windows service that runs the SHOUTcast DNAS 1.x mp3 server.
It does 4 things that Shoutcast 1.x doesn't:
- allows running sc_serv.exe as a Windows service. The alternative would be logging in as a user and running it from the console.
- writes out daily copies of its log files. These will look like, for example:
Each file only contains data for its named date, and this runs every night at midnight. The source sc_serv.log and sc_w3c.log files are unaffected.
- rotates its logs once a month. This involves stopping the sc_serv.exe process, renaming sc_serv.log and sc_w3c.log, and restarting the process. The monthly files are named something like:
These are redundant, containing the same data that’s inside the daily files.
- (optionally) monitors the shoutcast content directory for changes to any *.mp3 files in there. If a file changes, presumably because of a new preroll file being introduced, ShoutcastRunner will wait 5 seconds then restart the shoutcast process. This way
the new preroll is ingested.
SHOUTcast™ is a trademark of AOL LLC.