File paths, each optionally with a |subsong:N suffix.
Optionalreplacetrue clears the active playlist before adding; false appends.
OptionalstartWhich of the added tracks to start with, counted among the tracks that resolved; a value past the end starts the first.
Parameters for
playback.playPaths. Add several files to the active playlist and start playing one of them. Entries that are not strings or fail the media-root check are dropped and counted inskippedPaths, which only a successful call reports; when every entry is dropped the call fails withINVALID_PARAMS. Each remaining path becomes a track as written: folders and playlist files are not expanded and the file is not opened, so a missing file is added too. When no track can be made the call fails withNOT_FOUND. When the active playlist is locked the call fails withLOCKED, and nothing is cleared, added or played.