OptionalplaylistPlaylist index; omitted, the active playlist.
OptionalplaylistPersistent unique identifier of a playlist (bracketed GUID, case-insensitive), used in place of a mutable index. Mutually exclusive with playlist; passing both or an invalid format fails with INVALID_PARAMS. Fails with NOT_FOUND if the playlist does not exist, never falling back. Invalid-format and not-found failures return the given GUID in details.playlistGuid.
Parameters for
playlist.getSelectedTracks. The selected rows of a playlist in playlist order, without the play statistics. An index past the last playlist fails withINVALID_INDEX, aplaylistGuidno playlist has withNOT_FOUND; with both omitted and no active playlist the call fails withNO_ACTIVE_ITEM. Each of these failures, and giving both keys or a malformed GUID, carries an emptytracks.