diff --git a/pyffmpeg/__init__.py b/pyffmpeg/__init__.py index 968aecd..8541899 100644 --- a/pyffmpeg/__init__.py +++ b/pyffmpeg/__init__.py @@ -59,6 +59,7 @@ def __init__(self, directory=".", enable_log: bool=True): self.save_dir = directory if self.enable_log: self.logger.info(f"Save directory: {self.save_dir}") + self.logger.info("Checking GitHub Activeness: True") self.overwrite = True self.create_folders = True self.loglevels = ( @@ -260,7 +261,10 @@ def options(self, opts): _ffmpeg_file = '"' + self._ffmpeg_file + '"' else: _ffmpeg_file = self._ffmpeg_file + + self.logger.info(f'Using {_ffmpeg_file} as ffmpeg file') options = " ".join([_ffmpeg_file, options]) + self.logger.inof(f"Options is: {options} as at now") if self.enable_log: self.logger.info(f"Shell: {SHELL}") diff --git a/test_pseudo_ffprobe.py b/test_pseudo_ffprobe.py index 90d59c0..6468895 100644 --- a/test_pseudo_ffprobe.py +++ b/test_pseudo_ffprobe.py @@ -19,8 +19,8 @@ 'file_name,duration', [ ("countdown.mp4", "00:00:04.37"), - ("Easy_Lemon_30_Second_-_Kevin_MacLeod.mp3", "00:00:31.29"), - ("Ecossaise in E-flat - Kevin MacLeod.mp3", "00:00:30.96") + ('"Ea-sy_Lemon_30_Second_-_Kevin_MacLeod.mp3"', "00:00:31.29"), + ('"Ecossaise in E-flat - Kevin MacLeod.mp3"', "00:00:30.96") ]) def test_probe(file_name, duration): test_file = os.path.join(TEST_FOLDER, file_name)