This commit is contained in:
2026-02-11 16:29:02 -08:00
parent 33d7461db6
commit cc715e1fef
2 changed files with 137 additions and 15 deletions

View File

@@ -734,6 +734,12 @@ def _is_probable_ytdl_url(url: str) -> bool:
if "tidal.com" in lower and "/manifest" in lower:
return False
# Exclude Tidal CDN direct media URLs (these are already-resolved streams and do
# not need ytdl-hook; wrapping them in memory:// M3U is safe and lets us carry
# per-item titles into MPV's playlist UI).
if "audio.tidal.com" in lower or "/mediatracks/" in lower:
return False
# Exclude AllDebrid protected links
if "alldebrid.com/f/" in lower:
return False