From e96dbaddbef8b3d3a09ff3a4fe1c3744e9aab562 Mon Sep 17 00:00:00 2001 From: Senko-san Date: Sun, 14 Jun 2026 14:04:59 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20YTM=20source=20=E2=80=94=20mount=20coo?= =?UTF-8?q?kies=20volume;=20bump=20mcma-backend=20+=20mcma-webui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docker-compose.yml mounts ./data/youtube on api+worker for an optional yt-dlp cookies.txt; .env.example documents YOUTUBE_COOKIES_PATH. Bumps the backend + webui submodules to the YTM search/download feature commits. (mcma-bootstrap stays untracked — separate repo.) Co-Authored-By: Claude Opus 4.8 --- .env.example | 9 ++++++++- docker-compose.yml | 2 ++ mcma-backend | 2 +- mcma-webui | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index d22fe3e..712da41 100644 --- a/.env.example +++ b/.env.example @@ -50,7 +50,14 @@ ACOUSTID_API_KEY= # Your contact email, sent to MusicBrainz/AcoustID as part of the User-Agent # (required by their usage policy — apps without one get throttled). MUSICBRAINZ_OWNER_EMAIL= -# YOUTUBE_COOKIES_PATH=/data/cookies.txt +# YouTube Music source (search + download via yt-dlp). Enabled by default; +# set to false to hide it from /sources. +# YOUTUBE_ENABLED=true +# Optional yt-dlp cookies for age/region-restricted downloads. The host folder +# ./data/youtube is mounted at /data/youtube in api+worker; drop your exported +# cookies.txt there. Search and most downloads work without it — it's only used +# when the file is present, so leaving this set with no file is harmless. +YOUTUBE_COOKIES_PATH=/data/youtube/cookies.txt # ---- Frontend (webui) ------------------------------------------------ # Served same-origin behind nginx, so the default '/api/v1' just works. diff --git a/docker-compose.yml b/docker-compose.yml index a6afc02..5e80dfc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -58,6 +58,7 @@ services: - /app/.venv # keep the image's venv, don't shadow it - ./data/media:/data/media - ./data/transcode-cache:/data/transcode-cache + - ./data/youtube:/data/youtube # yt-dlp cookies.txt (optional; see .env) ports: - "${API_PORT:-8000}:8000" # direct access for debugging / docs depends_on: @@ -79,6 +80,7 @@ services: - /app/.venv - ./data/media:/data/media - ./data/transcode-cache:/data/transcode-cache + - ./data/youtube:/data/youtube # yt-dlp cookies.txt (optional; see .env) depends_on: db: { condition: service_healthy } redis: { condition: service_healthy } diff --git a/mcma-backend b/mcma-backend index fa23568..7800746 160000 --- a/mcma-backend +++ b/mcma-backend @@ -1 +1 @@ -Subproject commit fa23568214c13a5963e62007b77b28aa50a4c46d +Subproject commit 78007461e1e403358dceef700a61eeae1d142435 diff --git a/mcma-webui b/mcma-webui index cdcacc5..231887c 160000 --- a/mcma-webui +++ b/mcma-webui @@ -1 +1 @@ -Subproject commit cdcacc56d13aab8510e4bf7e07cb941fa76e9a2c +Subproject commit 231887c3b75961282279cda183acde42cb8c0e18