The script will show currently playing track title along with its cover art. Also shows recently played tracks.How to use1. Install the script on your web site
Download the attached nowplaying.zip
and upload files from the archive to your web site. Files must be uploaded to a folder accessible publicly from the web - e.g. public_html, www.2. Create HTTP request in RadioBOSS
- Open the Settings
window, navigate to Reports
- Check the Enable notifications
- Enable the Save artwork
option to make RadioBOSS export the artwork information (otherwise the %artwork variable used in the HTTP request will not work)
- Add new request using the +
button and enter the following URL (replace the web site address)
- Change the Method
Please see this link for more info about using notifications in RadioBOSS: https://manual.djsoft.net/radioboss/en/http_request.htm3. See it in action
Start playback in RadioBOSS to make it send the playing track info to the script.
Navigate to http://www.yoursite.com/nowplaying.html
you should see the title and album cover displayed (see the image attached).
is an example on how the data is displayed. You can copy parts from it to your real web site pages to display the data where needed.Security
Once everything works, change the script access key ($key
) in nowplaying.php
and enter the new access key in HTTP request in RadioBOSS (the &key=
parameter in the URL).
Access key makes sure that only allowed requests will come through.Troubleshooting
If you see error 500 in RadioBOSS with message like "Failed to write to a file", it probably means the script does not have permission to save data to files. You should allow write permission for the following files:
mode 666 should work, you can also try 755 or 777.