CurrentlyPlaying player.d.ts#L120
The currently playing object of the player api.
Properties:
Name | Type | Description |
---|---|---|
context | "null" | PlayerContext | The context. |
currently_playing_type | "episode" | "track" | "ad" | "unknown" | The object type of the currently playing item. |
is_playing | boolean | If something is currently playing, return true. |
item | "null" | Track | Episode | The item of the context. |
progress_ms | "null" | number | Progress into the currently playing track or episode. |
timestamp | number | Unix Millisecond Timestamp when data was fetched. |