From dd2830616ac4956350c2c951a077e6601027918a Mon Sep 17 00:00:00 2001 From: David Maisonave <47364845+David-Maisonave@users.noreply.github.com> Date: Fri, 26 Jul 2024 10:37:28 -0400 Subject: [PATCH] misc changes --- plugins/RenameFile/README.md | 2 +- plugins/RenameFile/renamefile.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/RenameFile/README.md b/plugins/RenameFile/README.md index d2cb3f4..83dabce 100644 --- a/plugins/RenameFile/README.md +++ b/plugins/RenameFile/README.md @@ -1,4 +1,4 @@ -# RenameFile: Ver 0.4.0 +# RenameFile: Ver 0.4.0 (By David Maisonave) RenameFile is a [Stash](https://github.com/stashapp/stash) plugin which performs the following two main task. - **Rename Scene File Name** (On-The-Fly) - **Append tag names** to file name diff --git a/plugins/RenameFile/renamefile.py b/plugins/RenameFile/renamefile.py index b09e38e..d67ef44 100644 --- a/plugins/RenameFile/renamefile.py +++ b/plugins/RenameFile/renamefile.py @@ -1,5 +1,5 @@ # This is a Stash plugin which allows users to rename the video (scene) file name by editing the [Title] field located in the scene [Edit] tab. -# By David Maisonave (aka Axter) 2024 +# By David Maisonave (aka Axter) Jul-2024 # Get the latest developers version from following link: https://github.com/David-Maisonave/Axter-Stash/tree/main/plugins/RenameFile # Based on source code from https://github.com/Serechops/Serechops-Stash/tree/main/plugins/Renamer @@ -20,7 +20,7 @@ from renamefile_settings import config # Get the directory of the script script_dir = Path(__file__).resolve().parent -# Configure logging for your script +# Configure logging for this script with max log file size log_file_path = script_dir / 'renamefile.log' rfh = RotatingFileHandler( filename=log_file_path,