Now Playing Web Page

carldickson

Member
Joined
Apr 25, 2024
Messages
6
HI, I was searching for a now playing web page that I could cast to my TV, but couldnt find one.
So I turned to Copilot AI because I dont know anything about coding html pages, I wanted a simple HTML page without having to install python components.

Im using a Home Assistant automation to detect when music is being played and use "dash cast" to send the html page to my chromecast/nvidia shield. I would be great if this was included in the WiiM app, but this works.

WiiM uses https so I created a reverse proxy over it so it would have a certificate.

Here is the results and the code is attached (Rename the .txt to .html), and change this line with your reverse proxy name and if anyone knows how to do it without the proxy, let me know.
const targetUrl = encodeURIComponent('https://wimm_reverse_proxy/httpapi.asp?command=getMetaInfo');


1729395592582.png
1729400209688.png
 

Attachments

  • wiim.txt
    4.7 KB · Views: 11
Last edited:
Back
Top