fix(import): add decrypts_samples to ImportService

This commit is contained in:
imSp4rky
2026-10-16 09:12:02 -06:00
parent 71a0383258
commit ecb8296de8
2 changed files with 25 additions and 0 deletions
+6
View File
@@ -765,6 +765,12 @@ class ImportService:
"license through a CDM: export the title again with the tracks you need selected."
)
def decrypts_samples(self, track: AnyTrack) -> bool:
return False
def get_sample_decrypter(self, track: AnyTrack, entry: int) -> bytes:
raise NotImplementedError("An import does not decrypt samples")
def on_segment_downloaded(self, track: AnyTrack, segment: Any) -> None:
pass