Disable new PO token generation to avoid warnings in the logs. (#2334)
authorMarvin Schenkel <marvinschenkel@gmail.com>
Fri, 15 Aug 2025 19:40:42 +0000 (21:40 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Aug 2025 19:40:42 +0000 (21:40 +0200)
music_assistant/providers/ytmusic/__init__.py

index 52a7544a5b69a59e03a13eceb4e4c62a5c7d7f20..04aab48275bfc2e41edb1127be92cf15e2428e68 100644 (file)
@@ -934,6 +934,9 @@ class YoutubeMusicProvider(MusicProvider):
                 "extractor_args": {
                     "youtubepot-bgutilhttp": {
                         "base_url": [self._po_token_server_url],
+                        # Disable new PO Token server behavior. Disable after this issue is fixed:
+                        # https://github.com/Brainicism/bgutil-ytdlp-pot-provider/issues/138
+                        "disable_innertube": "1",
                     },
                     "youtube": {
                         "skip": ["translated_subs", "dash"],