Play new songs from YouTube in the browser
YouTube's bot checks block yt-dlp from fetching audio on the server, so suggested songs now play in YouTube's embedded player, kept out of sight, in the browser. yt-dlp is only used to search. - GET /api/discover/youtube/<id> returns candidate video IDs, best first, or the one that played before (?refresh=true searches again). - PUT /api/discover/youtube/<id> remembers the video that played. - The UI tries the next candidate when a video can't be embedded, searches again when a remembered video is gone, and skips the song otherwise. - Drop the YouTube audio proxy, and Deno from the image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
93e12cfc72
commit
c84e7e715d
11 files changed
+495
-181
No files matched your search
@@ -28,7 +28,7 @@ url = "postgres:///navidrome-playlists"
|
||||
[discover]
|
||||
# Directory with the built discover UI (discover/dist) to serve at /
|
||||
ui = "/usr/share/playlistd/discover"
|
||||
# yt-dlp binary used to play suggested songs that aren't in your library
|
||||
# yt-dlp binary used to find suggested songs that aren't in your library on YouTube
|
||||
# ytdlp = "yt-dlp"
|
||||
# Format to ask Subsonic to stream in ("raw" = no transcoding), e.g. "mp3" if your
|
||||
# library has files browsers can't play
|
||||
|
||||
Reference in new issue
Block a user