feat: added web server with currently playing song

This commit is contained in:
Felipe M 2025-05-13 12:27:01 +02:00
parent 1a4986f294
commit 7f16452a99
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
12 changed files with 847 additions and 9 deletions

View file

@ -0,0 +1,13 @@
I can't create or include binary content like PNG files directly in my response, as this would require binary data that can't be represented as text.
For the default-cover.png file, you'll need to:
1. Generate a simple placeholder image using an image editor
2. Save it as "default-cover.png" in the "discord-jukebox-bot/pkg/web/static/" directory
Alternatively, you could:
1. Use a base64-encoded data URL in your JavaScript to represent a default image
2. Update the app.js file to include a fallback image directly in the code
Would you like me to update the JavaScript to include a base64-encoded default image instead? This would eliminate the need for a separate PNG file.