Skip to content

Commit

Permalink
CompleteTheStash: Disable hooks by default to dramatically increase t…
Browse files Browse the repository at this point in the history
…he performance

You can uncomment the hooks in plugin YAML if you want missing scenes to be updated whenever you update scenes in the main Stash. This will cause each scene update to a couple of seconds which is a couple of orders of magnitudes longer than without these. The slowness is caused because each scene update will start the plugin separately and it will then connect to multiple stashes.
  • Loading branch information
MinasukiHikimuna committed Sep 9, 2024
1 parent 71dd5a3 commit 16d7651
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions plugins/CompleteTheStash/CompleteTheStash.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
name: CompleteTheStash
description: Finds missing scenes for selected performers and creates missing scene metadata to another missing Stash instance. You can use either StashDB or TPDB or both as a source for missing scenes.
version: 0.4.9
version: 0.5.0
url: https://github.com/MinasukiHikimuna/MidnightRider-Stash/
exec:
- python
- "{pluginDir}/CompleteTheStash.py" # Adjust to your script's name and location
interface: raw
hooks:
- name: PerformerCompare
description: Removes scene from missing Stash if a match is found in local Stash.
triggeredBy:
- Scene.Create.Post
- Scene.Update.Post
# Uncomment the following hooks if you want missing scenes to be updated
# whenever you update scenes in the main Stash. This will cause each scene
# update to a couple of seconds which is a couple of orders of magnitudes
# longer than without these. The slowness is caused because each scene update
# will start the plugin separately and it will then connect to multiple stashes.
#
# hooks:
# - name: PerformerCompare
# description: Removes scene from missing Stash if a match is found in local Stash.
# triggeredBy:
# - Scene.Create.Post
# - Scene.Update.Post
tasks:
- name: Complete The Stash!
description: Create missing scenes of performers to another Stash instance
Expand Down

0 comments on commit 16d7651

Please sign in to comment.