ExperimentalExperimentalcontrolControl token from jitSession.create or jitSession.claimControl.
ExperimentalexpectedThe revision the command is based on.
Optional ExperimentalnativeWhat to do with an adopted native context: restore (default) gives the remaining occurrences back to the native queue and continues the playlist; detach leaves the native queue and playlists as they are and keeps the occurrences readable. Only for a session that adopted native playback.
ExperimentalrequestCaller-chosen key that makes a retry return the first answer instead of running again.
ExperimentalsessionSession to act on.
Parameters for
jitSession.release. End the session and give the native context back: the buffer is emptied, the track playing keeps decoding, and the playback order and active playlist saved when the session first played are restored. AfterjitSession.adoptNative, the remaining native queue occurrences are given back first (seenativeDisposition); when that fails the session is kept, the error carriesdetails.contextIdanddetails.recoveryId, and a release with a newrequestIdcontinues where it stopped. Giving the context back while foobar2000 may already have picked the buffered next entry (seejitSession.setNext) fails withCONFLICTanddetails.reason: "nextPreselected"and changes nothing;nativeDisposition: "detach"is still accepted. Without an adopted context, a next entry picked that way may still play after the release.