diff --git a/ucsinfer/__main__.py b/ucsinfer/__main__.py index ce66355..d41da68 100644 --- a/ucsinfer/__main__.py +++ b/ucsinfer/__main__.py @@ -131,6 +131,7 @@ def gather(paths, outfile): types = ['.wav', '.flac'] table = csv.writer(outfile) + logger.debug(f"Loading category list...") catid_list = [cat.catid for cat in load_ucs()] @@ -148,7 +149,7 @@ def gather(paths, outfile): logger.info(f"Found {len(scan_list)} files to process.") - for pair in tqdm.tqdm(scan_list, unit='files', file=sys.stderr): + for pair in tqdm.tqdm(scan_list, unit='files'): if desc := ffmpeg_description(pair[1]): table.writerow([pair[0], desc])