Docs
GraphQL referenceSubscriptions

Now Playing Changed

Emitted when the now-playing track changes for a network. networkId accepts either: - Numeric ID as string (e.g., "123") - Network code as string (e.g., "radio1") The resolver validates by attempting to match both formats. Same behavior as the feed(networkId) query. Access: Public: no sign-in required.

SUBSCRIPTIONnowPlayingChanged(networkId: ID!): NowPlayingEvent!

Emitted when the now-playing track changes for a network.

networkId accepts either:

  • Numeric ID as string (e.g., "123")
  • Network code as string (e.g., "radio1")

The resolver validates by attempting to match both formats. Same behavior as the feed(networkId) query.

Access: Public: no sign-in required.

Arguments

networkId*ID!

Returns

  1. nowPlayingChanged

Event payload for the nowPlayingChanged subscription.

artist?String

Now playing track artist, if avalaible should not be source of truth

feedItem?
historyId*ID!

History ID of the new track

networkCode*String!

Network code for channel identification

networkId*ID!

Network ID (as provided in the subscription)

timestamp*Int!

Timestamp of the change (Unix seconds)

title?String

Now playing track title, if avalaible should not be source of truth

trackId*ID!

Track ID for cache key reference

Example RequestGraphQL
subscription NowPlayingChanged($networkId: ID!) {  nowPlayingChanged(networkId: $networkId) {    artist    feedItem {      body      history {        album        artist        composer        copyright        datePlayed        discNo        id        isrc      }      id      image      networks {        activeListeners        baseUrl        catchupEnabled        catchupPremium        code        id        imagesUrl        isPremium      }      type    }    historyId    networkCode    networkId    timestamp    title    trackId  }}
Variables
{  "networkId": "1"}
Example Response
{  "data": {    "nowPlayingChanged": {      "artist": "string",      "feedItem": {        "body": "string",        "history": {          "album": "string",          "artist": "string",          "composer": "string",          "copyright": "string",          "datePlayed": "<DateTime>",          "discNo": 10,          "id": "1",          "isrc": "string"        },        "id": "1",        "image": "string",        "networks": [          {            "activeListeners": 10,            "baseUrl": "string",            "catchupEnabled": true,            "catchupPremium": true,            "code": "string",            "id": "1",            "imagesUrl": "string",            "isPremium": true          }        ],        "type": "string"      },      "historyId": "1",      "networkCode": "string",      "networkId": "1",      "timestamp": 10,      "title": "string",      "trackId": "1"    }  }}