Integrate RolandRadio

You are a friend of RolandRadio and want to support us in our work? We are happy about everyone who recommends RolandRadio and points to our Amstrad CPC Radio. Some of them would also like to see it integrated into an app or a homepage. Here we show the possibilities and provide the appropriate source code.

Integrate the RolandRadio-MiniPlayer into your homepage

You run a website aimed at Amstrad CPC users and would like to make RolandRadio available to your visitors on your homepage?

We show you how easy it is to integrate RolandRadio as a RolandRadio -MiniPlayer. So users can enjoy the great Amstrad CPC titles on RolandRadio while surfing on your homepage.

Add the following code within the <head> section of your homepage:

<script> function openPlayer (url) { PlayerWindow = window.open(url, "Player", "width=350,height=210,scrollbars=no,location=no,status=no,menubar=no,titlebar=no,toolbar=no"); PlayerWindow.focus(); } </script>

In a suitable area on your homepage you simply insert this code. This shows the RolandRadio -MiniPlayer graphic. A click on it opens the RolandRadio-MiniPlayer in a small browser window.

<div style="cursor: pointer;" onclick="openPlayer('https://rolandradio.net/miniplayer')"> <img src="https://rolandradio.net/rolandradio_layout/animations/equalizer-roland.gif" width="120" height="26"><br> <div style="font-size: 6px; color: black"><strong>Click here</strong> to listen to RolandRadio:</div> </div>

The result would look something like this:


Click here to listen to RolandRadio:

Try it! Click on the RolandRadio-MiniPlayer!

Individual adjustments

You can change the code at any time and adapt it to your needs.

The Graphic

The animated graphics of RolandRadio-MiniPlayer is a transparent GIF animation, and designed in such a way that it should be seen well on any background. Of course you can also use your own graphics. We provide some SVG files with our mascot "Roland".

The Text

If you want to change the text itself just edit the appropriate section in the source code.

If you want to change the color of the text, just change the color name in section color: black of the source code. For example, from color: black to color: yellow.

Integrate RolandRadio into your software

You develop software? Maybe an app for Android, iOS or on the Amstrad CPC and want to show what is currently playing on RolandRadio? We provide you with a link where you get a text back with all necessary information. This makes it very easy to find the information you want and the display in your software should work without problems.

Get the current title that is played on RolandRadio

Use the following link:

Click it! This will return something like:

6::33::Kangaroo MusiQue::Crazy Cars 3 (Lamborghini American Challange) - Level 2::2020-03-22 13:22:29::00:02:09

Values are separated by ::.

The resulting variables are:

  • Actual Listeners
  • Peak Listeners of today
  • Artist
  • Title
  • Playout date and time
  • Playing length of the title

To avoid unnecessary updates and retrieval of the values from the server (depending on the type of application), the playout and playing length can be used to calculate when the next retrieval should take place. The only exception: If, based on the calculation, the next request would be made after a full hour, the request must instead be made at the full hour. At the full hour, a new playlist is loaded and the current track is cancelled.

Get the next title played on RolandRadio

Use the following link:

Click it! This will return something like:

David Whittaker & Tiny Williams::Xenon - Theme 3

Values are separated by ::.

The resulting variables are:

  • Artist
  • Title

Tell us about your integration

If you have integrated RolandRadio into your project we would be very happy to hear about it.