feat: YouTube cookie'lerini panelden yönetilebilir hale getir

Cookie'ler saatler içinde eskiyordu, her seferinde manuel Coolify env
güncellemesi + redeploy gerekiyordu. Artık DB'de (app_settings tablosu)
tutuluyor; /settings sayfasından yeni cookies.txt yapıştırılıp
kaydedilebiliyor, bir sonraki yt-dlp çağrısında redeploy gerekmeden
devreye giriyor. YTDLP_COOKIES_B64 env var mekanizması kaldırıldı.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-30 19:13:10 +03:00
co-authored by Claude Sonnet 5
parent d562c05882
commit 5e211096c5
11 changed files with 117 additions and 22 deletions
+5 -6
View File
@@ -20,12 +20,11 @@ API_DAEMON_PORT=4001
# for a real scheduled stream.
FORCE_LIVE_URL=
# base64-encoded Netscape-format cookies.txt from a logged-in YouTube session.
# Datacenter server IPs increasingly get YouTube's "Sign in to confirm
# you're not a bot" bot-check on yt-dlp requests; authenticated cookies
# avoid it. Use a throwaway/secondary Google account, not your main one —
# this file is a live session credential. Never commit the raw cookies.txt.
YTDLP_COOKIES_B64=
# YouTube cookies (Netscape cookies.txt content) are configured from the
# panel's /settings page, not here — they rotate every few hours and are
# stored in the app_settings table so they can be updated without a
# redeploy. Use a throwaway/secondary Google account, not your main one —
# it's a live session credential.
# URL of a bgutil-ytdlp-pot-provider HTTP server (see docker-compose.yml
# sc_pot_provider). Needed alongside cookies to avoid YouTube's "The page