mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #626] [Feature]: YouTube Music DJ companion to Spotify Game Mode DJ #292
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Romuromylus on GitHub (May 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/626
What problem does this solve?
Marinara recently shipped a Spotify DJ for Game Mode (#624 / #623 /
b3fce6c) and/playcommands in Conversation Mode. Users without Spotify Premium (or who simply prefer YouTube Music) currently have no in-app music option. A YouTube counterpart would extend the same scene-aware DJ experience to the much larger YouTube user base.Proposed solution
Add a YouTube DJ feature that mirrors the Spotify integration's surfaces wherever the platform allows, and is honest about where it can't:
https://www.googleapis.com/auth/youtube.readonly), parallel tospotify-auth.routes.ts. Token storage encrypted the same way as Spotify credentials.game-youtube-music.service.tsparallel togame-spotify-music.service.ts— picks a track per scene based on narration, plays via the IFrame Player API embedded in the client./playcommands: Newconversation-youtube-command.service.tsparallel to the Spotify one.YouTubeMiniPlayer.tsxparallel toSpotifyMiniPlayer.tsx, using a hidden YouTube IFrame for audio + custom controls for play/pause/skip/volume./playlists?mine=true). "Liked Songs" / "Library" sources are intentionally not supported because the YouTube Data API does not expose YT Music Library/Likes; this is documented up front so users know what to expect.Alternatives considered
ytmusicapi-style): Would give us full YT Music Library/Likes parity with Spotify, but it requires the user to paste aheaders_auth.jsoncookie blob, lives outside YouTube's ToS, and breaks whenever Google changes the internal endpoints. Rejected in favor of official-only APIs.YOUTUBE_API_KEYonly (no per-user OAuth): Simpler to set up but cannot read a user's own playlists at all (only public ones by ID). Rejected because it loses the "my playlist" source and the per-user UX feels worse than Spotify's.Additional context
b3fce6c).YOUTUBE_REDIRECT_URI(parallel toSPOTIFY_REDIRECT_URI), plusYOUTUBE_CLIENT_ID/YOUTUBE_CLIENT_SECRET.frame-srcwill need to allowwww.youtube.comandwww.youtube-nocookie.comfor the IFrame player..env.example,CONFIGURATION.md(auth setup),TROUBLESHOOTING.md(LAN / non-loopback redirect — same workaround as Spotify),FAQ.md,CHANGELOG.md.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: