Share via


Nested Playlist Object

banner art

Previous Next

Nested Playlist Object

The server creates a nested playlist object when a playlist contains either a direct or indirect reference to another playlist. For example, assume that a client requests a playlist by using the following URL.

    mms://server_name/playlist.wsx

Assume also that the file playlist.wsx contains a direct reference to another playlist named nested_playlist.wsx.

    <?wsx version="1.0"?>
    <smil>
        <media src = "c:\wmpub\wmroot\nested_playlist.wsx" />
    </smil>

The server creates a playlist object for the requested playlist and another for the nested playlist.

The server can also create a nested playlist object if the WMS Directory Playlist Parser plug-in is enabled and a playlist references a directory by using any of the following syntax formats:

  • directory_path
  • directory_path\*
  • directory_path\*.*
  • directory_path\*.media_file_suffix
  • directory_path\*.playlist_file_suffix

This is illustrated by the following example.

    <?wsx version="1.0"?>
    <smil>
        <media src="c:\some_directory" />
        <media src="c:\some_directory\*" />
        <media src="c:\some_directory\*.*" />
        <media src="c:\some_directory\*.wmv" />
        <media src="c:\some_directory\*.wsx />
    </smil>

Finally, the server creates a nested playlist object if it downloads a playlist from a Web server. To download a playlist, you must reference an ASP page. For example, assume that the client requests the following playlist file.

    <?wsx version="1.0"?>
    <smil>
        <media src="httpd://web_server/playlist.asp" />
    </smil>

The media element contains a reference to an ASP page on a Web server. The ASP page creates a playlist, and the Windows Media server downloads it by using the WMS HTTP Download Data Source plug-in. For more information about downloading playlists, see Downloading a Playlist from a Web Server.

See Also

Previous Next