Show Licensing and Licensed Messages via Rich

This commit is contained in:
rlaphoenix
2024-01-09 11:32:30 +00:00
parent 09edb696ba
commit d566aa2547
3 changed files with 11 additions and 0 deletions

View File

@@ -397,7 +397,9 @@ class DASH:
try:
if not license_widevine:
raise ValueError("license_widevine func must be supplied to use Widevine DRM")
progress(downloaded="LICENSING")
license_widevine(drm, track_kid=track_kid)
progress(downloaded="[yellow]LICENSED")
except Exception: # noqa
stop_event.set() # skip pending track downloads
progress(downloaded="[red]FAILED")