Copyright © 2001-2019 MultiMedia Soft

PlayListCreate method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates a new playlist associated with the specified player. This method must precede any other playlist related method apart from the PlayListLoad method.

 

By default the playlist will use the PLAYLIST_FULL_MODE loading mode: with this setting the exact duration of each of the local (not Internet) playlist items will be calculated causing a longer time for adding a new item; if you want to create a playlist using the PLAYLIST_SPEED_MODE loading mode you will have to call the PlayListCreateSpeed method.

 

For further details about playlists management see the How to create and manage a playlist tutorial.

 

 

Syntax

 

[Visual Basic]

control.PlayListCreate (

nPlayer as Integer

) as enumErrorCodes


 

[C++]

short control.PlayListCreate (

short nPlayer

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will own the new playlist

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The call was successful.