Set no_drm flag when CDM is missing

This commit is contained in:
Rafael Moraes
2026-02-26 12:00:13 -03:00
parent c45b6bff52
commit c46523ec0f
+1
View File
@@ -68,6 +68,7 @@ class SpotifyBaseInterface:
self.cdm.MAX_NUM_OF_SESSIONS = float("inf")
else:
self.cdm = None
self.no_drm = True
def parse_url_info(self, url: str) -> SpotifyUrlInfo:
match = URL_INFO_RE.match(url)