mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 21:16:38 +00:00
Differentiate the unknown event logs
This commit is contained in:
parent
3ec1d2dc29
commit
194e84b074
@ -30,7 +30,7 @@ class PPHookStatus:
|
||||
|
||||
def yt_dlp_progress_hook(event):
|
||||
if event['status'] not in ProgressHookStatus.valid:
|
||||
log.warn(f'[youtube-dl] unknown event: {str(event)}')
|
||||
log.warn(f'[youtube-dl] unknown progress event: {str(event)}')
|
||||
return None
|
||||
|
||||
name = key = 'Unknown'
|
||||
@ -84,7 +84,7 @@ def yt_dlp_progress_hook(event):
|
||||
|
||||
def yt_dlp_postprocessor_hook(event):
|
||||
if event['status'] not in PPHookStatus.valid:
|
||||
log.warn(f'[youtube-dl] unknown event: {str(event)}')
|
||||
log.warn(f'[youtube-dl] unknown postprocessor event: {str(event)}')
|
||||
return None
|
||||
|
||||
name = key = 'Unknown'
|
||||
|
Loading…
Reference in New Issue
Block a user