Below is the text of the startup script that runs at Mac OS X Server startup. As you can see, it is the script that launches QuickTime Streaming Server (QTSS) the first time.
File: /private/etc/startup/1900_QuickTime
==========================================
#!/bin/sh
. /etc/rc.common
if [ "${QTSSERVER}" = "-YES-" ]; then
ConsoleMessage "Starting QuickTime streaming server"
/usr/sbin/QuickTimeStreamingServer
fi
Modify this script in the 'if' portion. Add the absolute path to a shell script that starts up your playlist broadcasters. The line should go after "/usr/bin/QuickTimeStreamingServer".
File: /private/etc/startup/1900_QuickTime
==========================================
#!/bin/sh
. /etc/rc.common
if [ "${QTSSERVER}" = "-YES-" ]; then
ConsoleMessage "Starting QuickTime streaming server"
/usr/sbin/QuickTimeStreamingServer
/path/to/shell/script/start_3_playlist_broadcasters
fi
Note: Paths to the actual hinted media files in the playlist and broadcast config files should not be relative, but should be absolute because the playlists themselves will be running at startup time, and not necessarily from their own local subdirectories.