Build the web UI into the .deb
- Package discover/dist to /usr/share/playlistd/discover, and serve it from there in the default config. cargo deb refuses to package if the UI hasn't been built, rather than shipping without it. - Install a pinned Node.js (22.23.4, checksum-verified) in the Containerfile; Ubuntu 22.04's is too old for Vite. The README's build command now builds the UI first. - Recommend yt-dlp, for playing suggested songs from YouTube. - If discover.ui points to a missing directory, warn instead of letting Rocket panic at startup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018opPJMJjLWr4RqdG6vuK6p
This commit is contained in:
5 files changed
+41
-10
No files matched your search
@@ -26,7 +26,7 @@ url = "postgres:///navidrome-playlists"
|
||||
|
||||
[discover]
|
||||
# Directory with the built discover UI (discover/dist) to serve at /
|
||||
# ui = "/usr/share/playlistd/discover"
|
||||
ui = "/usr/share/playlistd/discover"
|
||||
# yt-dlp binary used to play suggested songs that aren't in your library
|
||||
# ytdlp = "yt-dlp"
|
||||
# Format to ask Subsonic to stream in ("raw" = no transcoding), e.g. "mp3" if your
|
||||
|
||||
Reference in new issue
Block a user