Recent Tracks Widget Customization

Recent Tracks

About the Widget

The Recent Tracks widget displays a list of the tracks that were most recently played on your stream, along with the name of the artist, album, and broadcast time associated with each.

If available, the album cover image and a "Buy now" link are also displayed next to each track.

The track list is automatically updated at regular intervals such that it always reflects the most recently played tracks.

This widget can be configured on the Widgets tab of the Configuration Settings page.

Advanced Customization

Developers familiar with JavaScript may embed in their pages a code block similar to the following to customize the behavior of the widget.

This configuration block must appear before the JavaScript code for the widget.

<script language="javascript">
(function(){ var centovacast = (window.centovacast||(window.centovacast={}));
(centovacast.recenttracks||(centovacast.recenttracks={})).config = {

    poll_limit: 60,        // specify how many times to poll the server
    poll_frequency: 60000, // specify the poll frequency in milliseconds
    track_limit: 0,        // maximum number of tracks to display (0=all)
    show_covers: 1,        // 1 to show covers, 0 to hide
    scale_covers: 1,       // 1 to scale covers to the default size, 0 to allow
                           // the web page to apply width/height via CSS
    buy_target: '_blank'   // target frame for "buy now" links

};})();
</script>
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Stream Status Summary Widget Customization

Stream Status Summary About the Widget The Stream Status Summary widget displays a brief line...

Embedded Web player Widget Customization

Web Player About the Widget The Web Player widget provides a web-based media player that your...

Stream Details Widget Customization

Stream Details About the Widget The Stream Details widget is a more flexible version of the...

Listener Map Widget Customization

Listener Map About the Widget The Listener Map widget displays an interactive map, powered by...