Setting up Now Playing Studio Widget
Updated
Audata Promo's Studio UI features a Now Playing widget that can display the songs currently being played on air from a JSON feed.
Connecting the Music Feed
You can configure the JSON music feed you wish to use on a per instance basis.
- Open the Administration panel in Audata Promo.
- In the left sidebar, click on Integrations and then Music Feeds.
- Turn the Enable Live Music Feed toggle switch to on.
- Paste your JSON URL in the Music Feed URL feed.
- Click Save Settings.
Music Feed Format
The feature is designed to consume JSON data using the radioplayer.org schema. The schema is described below:
The JSON format is an object containing a nowplaying value which in turn contains an array of objects representing the songs, from most recently played onwards. Each song requires, at least, these values:
- artist - the artist name
- image - URL to cover art for the song (optional, Audata will display default artwork)
- title - the title of the song
- time - the time the song started playing on air as ISO 8601 timestamp with offset
- duration - the duration of the song as HH:MM:SS
- status - either "playing" or "history"
Example JSON Feed
{
"nowplaying": [
{
"album": "",
"artist": "Niall Horan / Anne-Marie",
"cart": "",
"duration": "00:02:34",
"iTunesTrackUrl": "https://music.apple.com/au/album/everywhere-bbc-children-in-need/1595136544?i=1595136907&uo=4",
"imageUrl": "https://is1-ssl.mzstatic.com/image/thumb/Music116/v4/df/74/86/df7486df-4e62-4657-c7f9-5576c9d60c8d/190296345043.jpg/450x450bb.jpg",
"imagesource": "default",
"previewUrl": "",
"status": "playing",
"subtitle": "Everywhere",
"time": "2024-11-08T14:07:48+11:00",
"title": "Everywhere",
"type": "song",
"uid": "5e717a8f-cf9b-ef11-a999-0a03d800007a"
},
{
"album": "",
"artist": "Myles Smith",
"cart": "",
"duration": "00:02:46",
"iTunesTrackUrl": "https://music.apple.com/au/album/stargazing/1742275516?i=1742275653&uo=4",
"imageUrl": "https://is1-ssl.mzstatic.com/image/thumb/Music211/v4/bf/c3/a5/bfc3a56d-a51b-69cb-cdfc-26ee63631cb8/196872051872.jpg/450x450bb.jpg",
"imagesource": "default",
"previewUrl": "",
"status": "history",
"subtitle": "Stargazing",
"time": "2024-11-08T14:05:03+11:00",
"title": "Stargazing",
"type": "song",
"uid": "bf2900bb-20f0-48f4-a8ae-1029f4c0a906"
}
...
]
}