Get information about an audio playback instance with the given playback ID.
The first output is triggered with the playback instance information.
If there is an error, the second output is triggered.
Audio playback ID
ID of an audio playback instance.
Number of outputs: 2
Object representing the playback instance.
Unique ID for this audio playback
Duration of the audio file, in seconds.
Current time of the ongoing playback, in seconds.
Status of the current playback.
True/false value describing if the audio file is set to loop.
If looping, the number of remaining loops until the playback stops.
Absolute local filesystem path or external URL to the audio file being played
ISO 8601 timestamp for when the playback was started. Can be used to calculate e.g. elapsed time.
Playback instance not found
Thrown if no audio playback instance with the given ID could be found.
Thrown if an unknown error occurred while getting the playback instance information.