This PHP project displays information about songs playing on Icecast/Shoutcast radio streams, including history, album art, lyrics, and Progressive Web App (PWA) support. The project offers flexibility to be used with either the local API or the web API, allowing you to choose the option that best suits your needs. Additionally, it is possible to rename the index.php file to index.html to use the project exclusively with the web API.
file_get_contents
, json
, stream_context_create
git clone https://github.com/jailsonsb2/RadioplayerAPI.git
Make sure you have a web server configured to serve PHP files. If you are using WAMP, place the files in the www
folder.
Navigate to the project directory.
cd RadioplayerAPI
Make sure write permissions are set for the directory where the history will be saved.
Edit the Githubissues.