Share via


Event ID 339 — Windows Media Server-side Playlist Delivery

Applies To: Windows Server 2008

When you use a server-side playlist, you can stream multiple pieces of digital media content as you would with a playlist created by using Windows Media Player (called a client-side playlist). However, in a server-side playlist, you can use additional attributes to further control the behavior of the content. Server-side playlists that are created by content producers, server administrators, or Web page scripts are saved as Windows Media metafiles with a .wsx file name extension.

Windows Media Services includes the Windows Media Playlist Editor, which can be used to create and edit server-side playlists. For more information, see Creating and editing playlists.

Event Details

Product: Windows Media Services
ID: 339
Source: WMServer
Version: 9.5
Symbolic Name: WMS_EVMSG_PLAYLIST_PLAYER_STREAM_ERROR
Message: The publishing point '%1' cannot stream the media source from '%2'.

Resolve

Add content specified by media elements in the playlist

Make sure that the server-side playlist is not opened by another program, such as Windows Media Playlist Editor. If the file is not being used by another program, add the missing media source into the location referenced by the media element, and then verify that the Network Service account has Read permissions for the folder that contains the media source.

Add missing content specified by media elements in a playlist

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To add missing content specified by media elements in a playlist:

  1. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.

  2. In the console tree, click the publishing point that sources from the server-side playlist file.

  3. In the details pane, click the Source tab.

  4. In Content source, note the path of the playlist file (for example, C:\WMPub\WMRoot\playlist.wsx).

  5. In Windows Explorer, open the playlist file in a text editor such as Notepad.

  6. Verify that the content source files in the playlist are in the locations specified by the src attribute. For example, the following sample playlist shows that the files Title.jpg and Audio.wma are stored in the folder that has the playlist file:

    <?wsx version='1.0'?>

    <smil>

        <media src="title.jpg" dur="10s"/>

        <media src="audio.wma"/>

    </smil>

  7. Add any missing content source files referenced by the src attributes in the playlist to their specified locations.

Specify Network Service account permissions for content sources

The src attribute can identify the content source of a media element by using a URL, Universal Naming Convention (UNC) path, or an absolute path. If the specified content source does not reside in %systemdrive%\WMPub or in one of its subdirectories, you must specify Read permissions for the alternate content source for the Network Service account.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To specify Network Service account permissions for content sources:

  1. In Windows Explorer, right-click the folder that contains the content source specified by the src attribute in the playlist, and then click Properties. For example, the following sample playlist shows that the files title.jpg and audio.wma are stored in C:\WMA:

    <?wsx version='1.0'?>

    <smil>

        <media src="C:\WMA\title.jpg" dur="10s"/>

        <media src="C:\WMA\audio.wma"/>

    </smil>

  2. On the Security tab, click Edit.

  3. In the Permissions for <Object name> dialog box, click Add.

  4. In the Select Users, Computers, or Groups dialog box, in Enter the object names to select, type Network Service, and then click OK.

  5. In the Permissions for <Object name> dialog box, in the Group or user names area, click NETWORK SERVICE.

  6. In the Permissions for NETWORK SERVICE area, click the Allow check box for the following permissions: Read.

  7. Click OK to save the changes.

Verify

To verify that the server-side playlist can be delivered to clients, test the stream by using Windows Media Player:

  1. If you want to test the stream by using Windows Media Player on the computer that is running Windows Media Services, you must install Desktop Experience. For more information, see Installing Desktop Experience.
  2. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.
  3. In the console tree, click the publishing point that hosts the stream you want to test.
  4. In the details pane, click the Announce tab, and then, in Connect to a unicast stream, note the value of the URL that a client can use to access the content.
  5. Start Windows Media Player on a computer that can access the stream, and enter the URL that you noted in the previous step.
  6. Using the Player controls, test the control functionality of the content stream. Broadcast streams can use the Start and Stop commands. On-demand streams can use the Start, Stop, and Pause commands, and the Seek bar.

Note: If some members of your expected audience will access the stream from outside your network firewall, your testing scenario should include that condition. For more information about the firewall configuration for Windows Media Services, see Firewall Information for Windows Media Services.

Windows Media Server-side Playlist Delivery

Streaming Media Services