diff --git a/pymusiclooper/__main__.py b/pymusiclooper/__main__.py index cabf9d8..d3ec796 100644 --- a/pymusiclooper/__main__.py +++ b/pymusiclooper/__main__.py @@ -71,11 +71,8 @@ def loop_track(filename, min_duration_multiplier): default_out = os.path.join(os.path.dirname(args.path), "looper_output") output_dir = args.output_dir if args.output_dir != "" else default_out - - if args.batch and not args.verbose: - warnings.filterwarnings("ignore") - logging.basicConfig(format="%(levelname)s: %(message)s", level=logging.ERROR) - elif args.verbose: + + if args.verbose: logging.basicConfig(format="%(levelname)s: %(message)s", level=logging.INFO) else: warnings.filterwarnings("ignore") @@ -189,5 +186,5 @@ def batch_handler(dir_path): else: batch_handler(args.path) - if args.play and not (args.export or args.json or args.batch): - loop_track(args.path, args.min_duration_multiplier) + if args.play and not (args.export or args.json): + loop_track(args.path, args.min_duration_multiplier)