diff --git a/pyproject.toml b/pyproject.toml index c73d447..26ee1ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "BAET" -version = "0.1.2" +version = "0.0.0.post86.dev0" description = "" authors = ["TimeTravelPenguin "] readme = "README.md" @@ -55,6 +55,7 @@ testpaths = ["tests"] [tool.poetry-dynamic-versioning] enable = true +metadata = false vcs = "git" [build-system] diff --git a/src/BAET/extract.py b/src/BAET/extract.py index 0b61529..aa01315 100644 --- a/src/BAET/extract.py +++ b/src/BAET/extract.py @@ -92,6 +92,8 @@ def _create_output_filepath(self, file: Path, stream_index: int) -> Path: return out_path / filename def build_job(self, file: Path) -> FFmpegJob: + logger.info(f"Building job for {file}") + audio_streams: list[AudioStream] = [] indexed_outputs: MutableMapping[int, Stream] = {} @@ -127,6 +129,7 @@ def __iter__(self) -> Generator[FFmpegJob, Any, None]: class MultiTrackAudioBulkExtractor: def __init__(self, app_args: AppArgs) -> None: + logger.info("Starting MultiTrackAudioBulkExtractor") self._extractor_jobs = MultitrackAudioBulkExtractorJobs( app_args.input_dir, app_args.output_dir, @@ -135,7 +138,6 @@ def __init__(self, app_args: AppArgs) -> None: ) self.display = Table.grid() - self._logger = logger def __rich_console__(self, console: Console, options: ConsoleOptions) -> RenderResult: yield self.display @@ -145,5 +147,5 @@ def run_synchronously(self) -> None: self.display.add_row(Padding(Group(*job_progresses), pad=(1, 2))) for progress in job_progresses: - self._logger.info(f"Processing input file '{progress.job.input_file}'") + logger.info(f"Processing job '{progress.job.input_file}'") progress.start()