mirror of
https://github.com/glomatico/votify.git
synced 2026-09-29 12:32:09 +02:00
Set no_drm flag when CDM is missing
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user