Improve logging for decryption and remuxing steps

This commit is contained in:
Rafael Moraes
2025-07-04 20:01:13 -03:00
parent 75e0b516d1
commit c8d0d77da7
2 changed files with 9 additions and 2 deletions
+7 -1
View File
@@ -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,
+2 -1
View File
@@ -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,