OptionalindexRow index; negative for the first row.
OptionalplaylistPlaylist index; negative for the active playlist. An index past the last playlist fails with INVALID_INDEX.
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.
OptionaltypePicture type.
Parameters for
artwork.getByPlaylistItem. Read the picture of a playlist row through the album art manager. A negativeplaylistmeans the active playlist and a negativeindexmeans the first row. A row past the end, an empty playlist included, fails withNOT_FOUND. A playlist index past the last playlist fails withINVALID_INDEX, aplaylistGuidno playlist has withNOT_FOUND, and no active playlist when the active one is meant withNO_ACTIVE_ITEM. A row without the picture is a success withavailablefalse; so is a row whose file is only in the cloud and not yet downloaded, which is not opened.