Adjust regain
This commit is contained in:
parent
79080d2752
commit
c7426d3b9d
6
regain
6
regain
@ -27,6 +27,9 @@ import subprocess
|
|||||||
import logging
|
import logging
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
|
VERSION = "0.0.1"
|
||||||
|
# Updated 2023/10/02
|
||||||
|
|
||||||
FORMATS = ["flac", "m4a", "aac", "alac", "mp3", "m3a", "ogg", "opus", "oga"]
|
FORMATS = ["flac", "m4a", "aac", "alac", "mp3", "m3a", "ogg", "opus", "oga"]
|
||||||
PATH_TO_REGAINER = "./regainer.py"
|
PATH_TO_REGAINER = "./regainer.py"
|
||||||
DESCRIPTION = """
|
DESCRIPTION = """
|
||||||
@ -70,7 +73,8 @@ if __name__ == "__main__":
|
|||||||
args = parse_arguments()
|
args = parse_arguments()
|
||||||
configureLogging(args.debug)
|
configureLogging(args.debug)
|
||||||
workdir = getWorkingDirectory()
|
workdir = getWorkingDirectory()
|
||||||
logging.info(f"regain.py WorkDir: {workdir}")
|
print(f"regain version {VERSION}")
|
||||||
|
logging.info(f"WorkDir: {workdir}")
|
||||||
logging.debug("Debug logs enabled")
|
logging.debug("Debug logs enabled")
|
||||||
file_lists = find_files_by_extension(workdir)
|
file_lists = find_files_by_extension(workdir)
|
||||||
logging.debug(f"File lists: {file_lists}")
|
logging.debug(f"File lists: {file_lists}")
|
||||||
|
Loading…
Reference in New Issue
Block a user