NowPlayingTrack
What a listener is hearing right now: a record, or the station talking
Attributes (8)
| Attribute | Type | Required | Description |
|---|---|---|---|
kind | 'record' | 'break' | Yes | record is music. break is the station speaking on its own between two records (an ident, a bulletin, a talk break), with artist empty and title the break's own label. A presenter talking over the start of a record is not a break: the record is what is on air, and it stays record. Absent means record, which is all a station older than this field ever reported. default: record |
title | string | Yes | |
artist | string | Yes | Comma-joined, as a display line rather than a list: this is what a player or a device shows, not something to iterate. Empty for a break |
album | string | No | |
artworkUrl | string | No | The station's own cached cover, as a path under the API root (art/...). Absent while the station does not yet hold the cover, which a player answers with the station's logo; never a provider's URL |
durationMs | number | No | |
startedAt | number | Yes | Unix epoch millis, as observed when the player reported the track started |
remainingMs | number | No | Absent when the decoder cannot say. It leads the listener by the encoder and client buffers, so it is a display value and not a schedule |