From 22c72aa842efa6d1dca3bb95eeb47122537ce12a Mon Sep 17 00:00:00 2001 From: Astounds Date: Fri, 27 Mar 2026 20:47:44 -0500 Subject: remove yt-dlp, fix captions PO Token issue, fix 429 retry logic - Remove yt-dlp entirely (modules, routes, settings, dependency) Was blocking page loads by running synchronously in gevent - Fix captions: use Android client caption URLs (no PO Token needed) instead of web timedtext URLs that YouTube now blocks - Fix 429 retry: fail immediately without Tor (same IP = pointless retry) Was causing ~27s delays with exponential backoff - Accept ytdlp_enabled as legacy setting to avoid warning on startup --- youtube/templates/watch.html | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'youtube/templates') diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 7432bde..5ff31cb 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -86,15 +86,6 @@ {% endfor %} - {% if audio_tracks and audio_tracks|length > 1 %} - - {% endif %} {% endif %} @@ -257,37 +248,6 @@ // @license-end - - - {% if settings.use_video_player == 2 %} -- cgit v1.2.3