forked from Github/Axter-Stash
misc changes
This commit is contained in:
@@ -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.
|
RenameFile is a [Stash](https://github.com/stashapp/stash) plugin which performs the following two main task.
|
||||||
- **Rename Scene File Name** (On-The-Fly)
|
- **Rename Scene File Name** (On-The-Fly)
|
||||||
- **Append tag names** to file name
|
- **Append tag names** to file name
|
||||||
|
|||||||
@@ -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.
|
# 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
|
# 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
|
# 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
|
# Get the directory of the script
|
||||||
script_dir = Path(__file__).resolve().parent
|
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'
|
log_file_path = script_dir / 'renamefile.log'
|
||||||
rfh = RotatingFileHandler(
|
rfh = RotatingFileHandler(
|
||||||
filename=log_file_path,
|
filename=log_file_path,
|
||||||
|
|||||||
Reference in New Issue
Block a user