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
+1
-1
@@ -28,7 +28,7 @@ sha2 = "0.10"
|
||||
|
||||
[package.metadata.deb]
|
||||
depends = "$auto"
|
||||
# plays suggested songs from YouTube. Distribution packages may be too old to work with YouTube,
|
||||
# finds suggested songs on YouTube. Distribution packages may be too old to work with YouTube,
|
||||
# so it's only recommended: a current yt-dlp from elsewhere (e.g. pip) works too
|
||||
recommends = "yt-dlp"
|
||||
assets = [
|
||||
|
||||
Reference in new issue
Block a user