fix(drm): log missing Widevine/PlayReady PSSH at debug level

This commit is contained in:
imSp4rky
2026-09-17 11:27:27 -06:00
parent dfaeb83076
commit 372eb5ccf1
2 changed files with 4 additions and 8 deletions
+2 -6
View File
@@ -673,9 +673,7 @@ class Track:
try:
self.drm = [Widevine.from_track(self, session)]
except Widevine.Exceptions.PSSHNotFound:
log.warning(
"No PlayReady or Widevine PSSH was found for this track, is it DRM free?"
)
log.debug("No PlayReady or Widevine PSSH was found for this track, is it DRM free?")
else:
try:
self.drm = [Widevine.from_track(self, session)]
@@ -683,9 +681,7 @@ class Track:
try:
self.drm = [PlayReady.from_track(self, session)]
except PlayReady.Exceptions.PSSHNotFound:
log.warning(
"No Widevine or PlayReady PSSH was found for this track, is it DRM free?"
)
log.debug("No Widevine or PlayReady PSSH was found for this track, is it DRM free?")
if self.drm:
track_kid = self.get_key_id(session=session)