Another fix for DSNP

This commit is contained in:
chu23465 2025-04-13 07:28:11 +05:30
parent 3bb39a9b64
commit dc9cfc4676
2 changed files with 492 additions and 492 deletions

File diff suppressed because it is too large Load Diff

View File

@ -197,8 +197,8 @@ class Hulu(BaseService):
for track in tracks.audios:
if not track.psshPR:
track.psshPR = next(x.psshPR for x in tracks.videos if x.psshPR)
if not track.psshWV:
track.psshWV = next(x.psshWV for x in tracks.videos if x.psshWV)
if not track.psshWV:
track.psshWV = next(x.psshWV for x in tracks.videos if x.psshWV)
if self.acodec:
tracks.audios = [x for x in tracks.audios if (x.codec or "")[:4] == self.AUDIO_CODEC_MAP[self.acodec]]