From 92c00ea2b0dc96bb91c2880101589812bc636062 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:35:09 -0300 Subject: [PATCH] fix shaka packager --- votify/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/votify/cli.py b/votify/cli.py index e918549..b2eae97 100644 --- a/votify/cli.py +++ b/votify/cli.py @@ -514,11 +514,11 @@ def main( logger.critical(X_NOT_FOUND_STRING.format("MP4Box", mp4box_path)) return music_video_warning_message = [] - if not downloader.mp4decrypt_path_full and video_format != VideoFormat.WEBM: + if not downloader.mp4decrypt_path_full and video_format == VideoFormat.MP4: music_video_warning_message.append( X_NOT_FOUND_STRING.format("mp4decrypt", mp4decrypt_path) ) - elif not downloader.packager_path_full: + elif not downloader.packager_path_full and video_format == VideoFormat.WEBM: music_video_warning_message.append( X_NOT_FOUND_STRING.format("Shaka Packager", packager_path) )