Another fix for DSNP
This commit is contained in:
parent
3bb39a9b64
commit
dc9cfc4676
File diff suppressed because it is too large
Load Diff
@ -197,8 +197,8 @@ class Hulu(BaseService):
|
|||||||
for track in tracks.audios:
|
for track in tracks.audios:
|
||||||
if not track.psshPR:
|
if not track.psshPR:
|
||||||
track.psshPR = next(x.psshPR for x in tracks.videos if x.psshPR)
|
track.psshPR = next(x.psshPR for x in tracks.videos if x.psshPR)
|
||||||
if not track.psshWV:
|
if not track.psshWV:
|
||||||
track.psshWV = next(x.psshWV for x in tracks.videos if x.psshWV)
|
track.psshWV = next(x.psshWV for x in tracks.videos if x.psshWV)
|
||||||
|
|
||||||
if self.acodec:
|
if self.acodec:
|
||||||
tracks.audios = [x for x in tracks.audios if (x.codec or "")[:4] == self.AUDIO_CODEC_MAP[self.acodec]]
|
tracks.audios = [x for x in tracks.audios if (x.codec or "")[:4] == self.AUDIO_CODEC_MAP[self.acodec]]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user