User guide
60 Chapter 6
Playlist Broadcaster
Version 3.1
The config file will contain the following set of parameters:
playlist_file /usr/Envivio/4Sight/Movies/ myPlaylist/myPlaylist.playlist
play_mode sequential_looped
destination_ip_address 127.0.0.1
#broadcast_name "myPlaylist"
sdp_file /usr/Envivio/4Sight/Movies/myPlaylist.m4e
destination_sdp_file /usr/Envivio/4Sight/Movies/myPlaylist.m4e
broadcast_SDP_is_dynamic enabled
pid_file /usr/Envivio/4Sight/Movies/ myPlaylist/myPlaylist.pid
The playlist file will contain the following lines:
*PLAY-LIST*
/usr/Envivio/4Sight/Movies/ mp4profile.mp4
The optional number associated to each movie is the weight of the movie.
This number is used when you are doing a weighted random playlist. The
higher the number, the more often the movie will be played.
You can then start the playlist using the following commands:
• EnvivioPlaylistBroadcaster -p myPlaylist.config
• EnvivioPlaylistBroadcaster myPlaylist.config
NOTE EnvivioPlaylistBroadcaster is available under /usr/Envivio/4Sight/sbin.
The first command reads and parses the config file and the playlist file, in
order to detect incompatibilities or errors. If the first command is
successful, use the second one to start the broadcast of the playlist.