On Tuesday, October 29, 2002, at 11:31 AM, General Manager wrote:
Can you play a playlist at a certain time? (I.E. Crontab, etc.)
Yes, but what you should first do is create the Playlist settings
and config file via the streaming web admin, this will make sure that
you've included all the files you wish to. Doing so via a web browser
that way is probably the easiest way to get started.
Don't start the Playlist though via the streaming web admin. Instead,
we'll start it up via the command-line (see below).
The directory (on Mac OS X/Mac OS X Server) where Playlists
are written by the streaming web admin is:
/Library/QuickTimeStreaming/Playlists/
(for other Unix Darwin Streaming Servers it is
/var/streaming/playlists/)
Now, you will then need to script either 'MP3Broadcaster' or else
'PlaylistBroadcaster' (depending if you're doing an MP3 playlist or
movie playlist, respectively) to run. One of the parameters you will
provide the broadcaster tool will be the name of your {playlist}.config
file.
Example:
Suppose you had an MP3 playlist named "Jazz" (with mountpoint
"/Jazz")
The way you start up this playlist from the Unix command line would
be:
admin% MP3Broadcaster -c
/Library/QuickTimeStreaming/Playlists/Jazz/Jazz.config
- MP3Broadcaster: Started in background.
This should be sufficient information if you now want to go ahead and
automate
starting of playlists via a script and so forth.
You can get more information by running either PlaylistBroadcaster or
MP3Broadcaster with -v
Example:
admin% MP3Broadcaster -v
usage: MP3Broadcaster [-v] [-d] [-x] [-X] [-a ipAddress] [-p portNum]
[-l filename] [-w filename] [-e filename] -c filename
-v: display version
-d: run in foreground
-x: preflight configuration
-X: check MP3 files
-a <ipaddr>: broadcast to this address (default = local loopback)
-p <port>: broadcast to this port (default = 8000)
-c <path>: path to config file
-l <path>: path to playlist (overrides config file)
-w <path>: path to dir to create temp lists (overrides config
file)
-e <path>: print output to error file
--
Billy Brown
_______________________________________________
streaming-server-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
Do not post admin requests to the list. They will be ignored.