PlaylistCollection Object

The PlaylistCollection object provides a way to organize your playlists.

The PlaylistCollection object supports the following methods.

Method Description
getAll Retrieves a PlaylistArray object containing all the playlists in the library.
getByName Retrieves a PlaylistArray object containing playlists with the specified name, if any exist.
importPlaylist Adds a static playlist to the library.
isDeleted Retrieves a value indicating whether the specified playlist is in the deleted items folder.
newPlaylist Creates a new playlist in the library.
remove Removes a playlist from the library.
setDeleted Moves a playlist to the deleted items folder.

 

The PlaylistCollection object is accessed through the following property.

Object Property
Player playlistCollection

 

See also

Object Model Reference for Scripting

 

 

Show: