mirror of
https://github.com/glomatico/votify.git
synced 2026-09-28 12:02:10 +02:00
Improve logging for decryption and remuxing steps
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user