Copyright © 2005-2019 MultiMedia Soft

PlayListCreateEx method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates a new playlist associated to the given player using the given loading mode.

 

 

Syntax

 

[Visual Basic]

Public Function PlayListCreate (

nPlayerIndex as Int16

nMode as enumPlayListModes

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlayListCreate (

Int16 nPlayerIndex

enumPlayListModes nMode

);


 

[C++]

public: enumErrorCodes PlayListCreate (

Int16 nPlayerIndex

enumPlayListModes nMode

);


 

 

Parameter

Description

 

 

nPlayerIndex

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

nMode

Loading mode.

Supported values are the following:

Mnemonic constant

Value

Meaning

PLAYLIST_SPEED_MODE

0

Speed mode: playlist songs analysis is not performed: suggested when adding items coming from a local network

PLAYLIST_FULL_MODE

1

Full mode: will be calculated the duration of each of the local (not Internet) playlist items. The playlist loading will be longer.

PLAYLIST_AUTOMATION_MODE

2

Automation mode: allows the use of the PDJ playlist format with fader attributes

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.