Documentation/FbPlayingItemLocation
classWORKERCLONEABLE

FbPlayingItemLocation

js/foo_uie_jsplitter.js:5980

Example

let playing_item_location = plman.GetPlayingItemLocation();
if (playing_item_location.IsValid) {
    console.log(playing_item_location.PlaylistIndex);
    console.log(playing_item_location.PlaylistItemIndex);
}
propertyWORKERreadonly

IsValid

js/foo_uie_jsplitter.js:5995
IsValid: boolean

False if foobar2000 isn't playing or if the playing track has since been removed from the playlist it was on when playback was started.

propertyWORKERreadonly

PlaylistIndex

js/foo_uie_jsplitter.js:6005
PlaylistIndex: number

-1 if item is not in a playlist

propertyWORKERreadonly

PlaylistItemIndex

js/foo_uie_jsplitter.js:6014
PlaylistItemIndex: number

-1 if item is not in a playlist