forked from kenzuya/unshackle
fix(drm): include shaka-packager binary in error messages
This commit is contained in:
@@ -415,7 +415,7 @@ class PlayReady:
|
|||||||
p.wait()
|
p.wait()
|
||||||
|
|
||||||
if p.returncode != 0 or had_error:
|
if p.returncode != 0 or had_error:
|
||||||
raise subprocess.CalledProcessError(p.returncode, arguments)
|
raise subprocess.CalledProcessError(p.returncode, [binaries.ShakaPackager, *arguments])
|
||||||
|
|
||||||
path.unlink()
|
path.unlink()
|
||||||
if not stream_skipped:
|
if not stream_skipped:
|
||||||
|
|||||||
@@ -371,7 +371,7 @@ class Widevine:
|
|||||||
p.wait()
|
p.wait()
|
||||||
|
|
||||||
if p.returncode != 0 or had_error:
|
if p.returncode != 0 or had_error:
|
||||||
raise subprocess.CalledProcessError(p.returncode, arguments)
|
raise subprocess.CalledProcessError(p.returncode, [binaries.ShakaPackager, *arguments])
|
||||||
|
|
||||||
path.unlink()
|
path.unlink()
|
||||||
if not stream_skipped:
|
if not stream_skipped:
|
||||||
|
|||||||
Reference in New Issue
Block a user