-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DupFileManager 0.1.9 #467
Merged
Merged
DupFileManager 0.1.9 #467
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Where's was an (if not) condition which should have been an (if) condition. This caused issues when renaming a file without populating the title field and with an associated performer.
Added new plugin ChangeFileMonitor. Made following changes to RenameFile plugin. Added fields galleries, resolution, and width. Fixed bug associated with studio. Added logic to limit the log file size. Added logic to only get [Change success] logging when no errors occurs. Change default fields to include studio. Added postfix styles, which was mainly needed to properly format resolution field, but can be used for the other fields. Consolidated [Include Existing Key Field] options into one option. Cleaned up code and updated version
Added new plugin ChangeFileMonitor. Made following changes to RenameFile plugin. Added fields galleries, resolution, and width. Fixed bug associated with studio. Added logic to limit the log file size. Added logic to only get [Change success] logging when no errors occurs. Change default fields to include studio. Added postfix styles, which was mainly needed to properly format resolution field, but can be used for the other fields. Consolidated [Include Existing Key Field] options into one option. Cleaned up code and updated version
Removed unused UI variable endpoint. Added logic that allows ChangeFileMonitor to run as a script. Updated README.md file to explain how to run it as a script.
Can start FileMonitor from Stash UI as a service. Stop FileMonitor from the UI. Scheduler service for multiple UI task. Scheduler service for plugins. UI option to trim backup DB files. Config file option to exclude paths. Config file option to only include paths. Config file option to only include specified file types. Very minor changes to RenameFile plugin.
1. Fixed bug that added duplicate resolution, width, height , scene_date, video_codec, and frame_rate when title is not populated. 2. Added excludeTags field, and pre-populated it with DuplicateMarkForDeletion and DuplicateWhitelistFile to avoid conflicts with up coming plugin DupFileManager.
Added API Key logic to allow FileMonitor to work in service mode when user has configured a Stash username and password. To slim down the main config, moved self_unit_test and task_examples to their own configuration files. Added more self_unit_test, and a selfUnitTest activation field that is normally false. When field is true, it turns on the task for unit testing.
Change default rename using Move, in order to avoid access issues when scene is being played.
100's of file changes at the same time caused FileMonitor to run many dozens of scan jobs. Added logic to have FileMonitor delay new scan jobs while last scan job is still running.
Separated unit testing into two parts. Increase max log file size. Set status logging to debug level. Added UI option to enable DupFileManager delete duplicate task in the scheduler. Added "every" option for every day of the week in the scheduler. Added scheduler option to start plugin without the Task Scheduler. Changed the format for plugins in the scheduler.
Fixed issue with Studio triggering folder being created on rename. Integrated changes to use StashPluginHelper class, and stream line the code. Put rename back as default method over move. Removed functions which are already included in stashapi and StashPluginHelper.
Added option to avoid "Delete Tagged Duplicates" without turnOnSchedulerDeleteDup enabled.
Can you remove the dev files? |
Good catch. Removed. |
Fixed prettier issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added the following features: