[Web site] Show current track title, cover art, recent tracks

This example script only shows the current track cover art. If many people request it, we will consider extending the screipt to include cover art for previously played songs too.
 
Hi, is there any way of displaying the cover art for the recent tracks too? Let's say for the 3 to 5 recent tracks. Thank you
 
The script was updated to use the %casttitle variable instead of separate %artist/%title variables in the previous version. This allows displaying the same track title as was sent to the streaming server.
 
How would one go about getting it to display like in the attached image?
 

Attachments

  • layout.jpg
    layout.jpg
    17.9 KB · Views: 396
You can modify the script to receive artist and title separately and display it in the form you need.
 
How to modify the script so that a message is displayed eg: "no song playing" when the software is not running? Thanks for a possible answer. Best regards
 
Code:
http://www.yoursite.com/nowplaying/nowplaying.php?casttitle=%casttitle&artwork=%artwork&key=TB21Dr3km
I don't quite understand this code, why a nowplaying folder when it is noted that you have to put the files at the root of the site ?
 
Hi. Quick question.
Does the nowplaying_artwork.png have to be a png? Is it possible to export it as WebP or even Jpeg as they tend to be smaller.
Thank you
 
is giving this error when updating some songs:

HTTP Request (#1) error: HTTP/1.1 403 Forbidden "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access this resource.</p> </body></html> "
 
Back
Top