File paths or URLs, each optionally with a |subsong:N suffix. Entries longer than 2048 characters are dropped and counted in invalidCount.
OptionalplaylistTarget playlist; read only when useQueuePlaylist is false. An index past the last playlist fails with INVALID_INDEX; with this and playlistGuid omitted and no active playlist the call fails with NO_ACTIVE_ITEM.
OptionalplaylistThe target playlist's guid, instead of playlist; like playlist it is read only when useQueuePlaylist is false, and not checked at all otherwise.
OptionaluseAppend to the dedicated [WebView Queue] playlist, creating it when missing. false uses playlist, or the active playlist when that is omitted too.
Parameters for
queue.addPaths. Queue tracks by path. Queueing needs playlist membership, so the paths are appended to a playlist first: by default a dedicated[WebView Queue]playlist, created when missing. A locked target playlist fails withLOCKED, and nothing is added or queued. The target is looked up again after the paths are resolved, as inplaylist.addPaths: moved meanwhile, it still gets the tracks andplaylistin the result is its new index; removed meanwhile, the call fails withOPERATION_FAILEDand nothing is queued. A path the media-root check refuses fails the whole call withPERMISSION_DENIED. Paths that resolve to nothing are dropped; when none resolves the call fails withNOT_FOUND, the failure carryinginvalidCount.