Creating a playlist

    The playlist text file specifies the media files used in the broadcast by pathname. You can use any text editor to create a playlist.

    Note: If you change a playlist file, you must stop and restart the broadcast for changes to take effect.

    The playlist file
    must begin with *PLAY-LIST*
    can consist of pathnames for individual media files or other playlist files
    must include the complete or relative pathname of each media file or playlist file
    must include a "+" symbol before the pathname to any other playlist
    can include a weight for individual media files, but not for a playlist
    can be named anything you'd like
    can be stored anywhere on your server

Setting the sequence and weight of your media files

    You can broadcast the media in the playlist sequentially or randomly, either once through the list or repeatedly through the list.

    If you broadcast the media randomly, you can specify a "weight" for each media file in the list. The weight, which is a number from 1 to 10, determines how often an item plays. Media files that are weighted as 10 play more often than media files weighted with lower numbers. (You place the weight after the movie name, as shown in the example below.) The default weight for a media file is 10. In addition to using weights, you can prevent a media file from playing again until a specified number of other media files play.

    Example playlist file:
    This playlist file contains individual media files with weights and two other playlists:

    *PLAY-LIST*
    # Lines beginning with "#" are comments
    #
    # individual media files with weights
    /music/jazz/take5.mov 2
    /music/rock/freebird.mov 9
    /music/reggae/onedrop.mov 5
    #
    # path to another playlist
    + /music/classical/playlist.txt
    #
    # relative path to another playlist
    + funk/funkplist.txt
    #
    #individual media file with space

    "/music/jazz/ice cream love.mov" 9

    Note: If a pathname includes spaces, enclose the pathname in quotation marks. Hinted media files and playlists can be stored anywhere on your server, not just in the media directory. Hinted media files stored outside of the media directory can be broadcast as part of a playlist but are not directly accessible by QuickTime clients.

Related topic

 


Table of contents