Files, folders or URLs, in the order to add them; a |subsong:N suffix selects a subsong.
OptionalplaylistIndex of the playlist; omitted, the active playlist. An index past the last playlist fails with INVALID_INDEX; with this omitted and no active playlist the call fails with NO_ACTIVE_ITEM.
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.addPathsSequential. Append paths to a playlist in the given order, saving an undo point first; a path that expands to several tracks (a folder, a cue sheet) keeps its place. Entries longer than 2048 characters, and entries that resolve to nothing, are skipped. A locked playlist fails withLOCKED. A playlist moved or removed while the paths are resolved is handled as inplaylist.addPaths.