From c8d0d77da7dc6c8432d39e216fde2e96ec0e9780 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Fri, 4 Jul 2025 20:01:13 -0300 Subject: [PATCH] Improve logging for decryption and remuxing steps --- votify/downloader_episode_video.py | 8 +++++++- votify/downloader_music_video.py | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/votify/downloader_episode_video.py b/votify/downloader_episode_video.py index cdff1fa..72c4c14 100644 --- a/votify/downloader_episode_video.py +++ b/votify/downloader_episode_video.py @@ -129,7 +129,13 @@ class DownloaderEpisodeVideo(DownloaderVideo): self.download_segments(stream_info.segment_urls_video, temp_path_video) logger.debug(f'Downloading audio to "{temp_path_audio}"') self.download_segments(stream_info.segment_urls_audio, temp_path_audio) - logger.debug(f'Remuxing to "{remuxed_path}"') + if stream_info.encryption_data_widevine: + logger.debug( + f'Decryping video/audio to "{decrypted_path_video}"/"{decrypted_path_audio}" ' + f'and remuxing to "{remuxed_path}"' + ) + else: + logger.debug(f'Remuxing to "{remuxed_path}"') self.remux( decrypted_path_video, decrypted_path_audio, diff --git a/votify/downloader_music_video.py b/votify/downloader_music_video.py index ccae774..a163545 100644 --- a/votify/downloader_music_video.py +++ b/votify/downloader_music_video.py @@ -233,7 +233,8 @@ class DownloaderMusicVideo(DownloaderVideo): logger.debug(f'Downloading audio to "{encrypted_path_audio}"') self.download_segments(stream_info.segment_urls_audio, encrypted_path_audio) logger.debug( - f'Decryping video/audio to "{decrypted_path_video}/{decrypted_path_audio}" and remuxing to "{remuxed_path}"' + f'Decryping video/audio to "{decrypted_path_video}"/"{decrypted_path_audio}" ' + f'and remuxing to "{remuxed_path}"' ) self.remux( decrypted_path_video,