Copyright © 2005-2019 MultiMedia Soft

PlayListSave method

Previous pageReturn to chapter overviewNext page

Remarks

 

Saves the current playlist into the given file.

 

 

Syntax

 

[Visual Basic]

Public Function PlayListSave (

nPlayerIndex as Int16,

strPathname as string,

nFormat as enumPlayListFormats

) as enumErrorCodes


 

[C#]

public enumErrorCodes PlayListSave (

Int16 nPlayerIndex,

string strPathname,

enumPlayListFormats nFormat

);


 

[C++]

public: enumErrorCodes PlayListSave (

Int16 nPlayerIndex,

string strPathname,

enumPlayListFormats nFormat

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

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

strPathname

String containing the name of the output playlist file

nFormat

Save format.

Supported values are the following:

Mnemonic constant

Value

Meaning

PLAYLIST_FORMAT_M3U

0

M3U format

PLAYLIST_FORMAT_PLS

1

PLS format

PLAYLIST_FORMAT_WPL

2

WPL format

PLAYLIST_FORMAT_PDJ

3

PDJ format; this is a MultiMedia Soft proprietary format: see the How to create and manage a playlist tutorial for details.

 

 

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.