Forgot Password

Pulling Now Playing Data Into Your Station's Website

This article is written for Digital Managers

Many stations send their Now Playing data to their Futuri Streaming Transmitter, and if your automation system does not allow for a separate export to your website, you can re-use Futuri's Now Playing metadata to feed your website, if you have a web developer that is comfortable parsing JSON data.

NOTE: This integration is currently only supported for stations using Futuri for streaming. However, if you have #engage, you can embed its Recently Played feature on your site instead. Please contact Futuri VIP Support for more information.

Displaying the current song

To display the song that's currently playing on the air, you can pull that data from this URL (replacing "xxxx" with your station's call letters as found in your streaming player's URL, such as http://xxxx.streamon.fm):

  • http://xxxx.streamon.fm/card

Below is an example of a simple implementation of this data.

Displaying the most recently played songs

The 10 most recent items received by your station's Streaming Transmitter can be found at the URL below:

  • http://xxxx.streamon.fm/metadata/recentevents/XXXX-48k.json

Some notes:

  • You'll want to replace "xxxx" with your station's call letters as found in your streaming player's URL, such as http://xxxx.streamon.fm, and "XXXX" (toward the end of the URL) should be all-caps in most cases.
  • The bitrate must match your station's encoding bitrate. In most cases, this will be 48k, but may also be 24k, 32k, or 64k.

Below is an example of a simple implementation of this data.

Deeper Now Playing history

If you would like to build a more robust Now Playing feature, you can do AJAX calls on the stream. Those URLs would look like this (replacing "xxxx" with your station's call letters as found in your streaming player's URL, such as http://xxxx.streamon.fm):

  • http://xxxx.streamon.fm/eventrange/1459987200-1459990800.json

In the example above, 1459987200 is the starting unix timetamp and 1459990800 is the ending timestamp. AJAX calls for this purpose should be limited to 3600-second durations (an hour).

Was this article helpful?
86abdcb7cc3500056d69a422d6affecb@futuri.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete?b_id=11732