From 75ce11dff49e5f94af6de52cdb45025f283f7beb Mon Sep 17 00:00:00 2001 From: Justin Donofrio Date: Thu, 7 Nov 2024 11:33:56 -0500 Subject: [PATCH] Hopefully fix windows log errors --- src/onthespot/post_download.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/onthespot/post_download.py b/src/onthespot/post_download.py index 64600c5..e27aa71 100644 --- a/src/onthespot/post_download.py +++ b/src/onthespot/post_download.py @@ -182,7 +182,7 @@ def convert_audio_format(filename, metadata, bitrate, default_format): # Add output parameter at last command += [filename] - logger.info( + logger.debug( f'Converting media with ffmpeg. Built commandline {command}' ) # Run subprocess with CREATE_NO_WINDOW flag on Windows @@ -252,7 +252,9 @@ def set_music_thumbnail(filename, metadata): ] command += [filename] - + logger.debug( + f'Setting thumbnail with ffmpeg. Built commandline {command}' + ) if os.name == 'nt': subprocess.check_call(command, shell=False, creationflags=subprocess.CREATE_NO_WINDOW) else: