Added ChangeFileMonitor

This commit is contained in:
David Maisonave
2024-07-28 02:46:52 -04:00
parent 162f331f12
commit 26f6a765b6
9 changed files with 858 additions and 3 deletions

View File

@@ -17,8 +17,7 @@ from renamefile_settings import config # Import settings from renamefile_setting
# **********************************************************************
# Constant global variables --------------------------------------------
SCRIPT_DIR = Path(__file__).resolve().parent # Get the directory of the script
LOG_FILE_PATH = SCRIPT_DIR / 'renamefile.log'
LOG_FILE_PATH = log_file_path = f"{Path(__file__).resolve().parent}\\{Path(__file__).stem}.log"
FORMAT = "[%(asctime)s - LN:%(lineno)s] %(message)s"
DEFAULT_ENDPOINT = "http://localhost:9999/graphql" # Default GraphQL endpoint
DEFAULT_FIELD_KEY_LIST = "title,performers,studio,tags" # Default Field Key List with the desired order