Copyright © 2001-2018 MultiMedia Soft

PlayListSave method

Previous pageReturn to chapter overviewNext page

Remarks

 

Saves the current playlist into the given file.

 

 

Syntax

 

[Visual Basic]

control.PlayListSave (

nPlayer as Integer,

strPathname as String,

nFormat as enumPlayListFormats

) as enumErrorCodes


 

[C++]

short control.PlayListSave (

short nPlayer,

LPCTSTR strPathname,

short nFormat

);


 

 

Parameter

Description

 

 

nPlayer

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.ERR_NOERROR (0)

The call was successful.