feat: optional YouTube Music source (cookies volume + wizard step)
Adds a step_youtube wizard prompt (enable + cookies host folder), the @YOUTUBE_VOLUME@ token in templates/compose/backend.yml substituted in compose_gen, a YOUTUBE_ENABLED/cookies env block, ensure_youtube_dir in lifecycle, en/ru strings, and a README step. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+12
@@ -106,6 +106,16 @@ MSG[acoustid_prompt]="AcoustID API key (leave blank to use embedded tags only)"
|
||||
MSG[musicbrainz_note]="MusicBrainz/AcoustID require a contact email in their User-Agent or they may throttle requests."
|
||||
MSG[musicbrainz_email_prompt]="Contact email for MusicBrainz/AcoustID (leave blank to use the project's default)"
|
||||
|
||||
# -- youtube source --------------------------------------------------------
|
||||
MSG[step_youtube]="YouTube Music (search + download)"
|
||||
MSG[youtube_note]="Lets users search YouTube Music and download tracks into the library (via yt-dlp). Search and most downloads work with no setup."
|
||||
MSG[youtube_q]="Enable the YouTube Music source?"
|
||||
MSG[youtube_cookies_note]="Optional: a browser cookies file (Netscape format) lets yt-dlp fetch age/region-restricted items. The folder below is mounted into the backend; drop your cookies.txt in it any time (leave default if unsure)."
|
||||
MSG[youtube_cookies_prompt]="Host folder to mount for the cookies file"
|
||||
MSG[summary_youtube]="YouTube"
|
||||
MSG[done_youtube_title]="YouTube downloads are enabled."
|
||||
MSG[done_youtube_cookies]="For restricted items, place an exported cookies.txt in: %s"
|
||||
|
||||
# -- summary / run ---------------------------------------------------------
|
||||
MSG[summary_title]="Summary (secrets hidden)"
|
||||
MSG[summary_services]="Services"
|
||||
@@ -117,6 +127,8 @@ MSG[summary_access]="Access"
|
||||
MSG[confirm_start]="Generate config and start now?"
|
||||
MSG[embedded]="built-in"
|
||||
MSG[external]="external"
|
||||
MSG[enabled]="enabled"
|
||||
MSG[disabled]="disabled"
|
||||
|
||||
MSG[pull_images]="Pulling images (%s)..."
|
||||
MSG[pull_hint]="If pulls fail with 'unauthorized', run 'docker login git.ollyhearn.ru' first (private registry)."
|
||||
|
||||
Reference in New Issue
Block a user