mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-04-21 22:37:24 -05:00
[plugin] Add PathParser Plugin (#89)
This commit is contained in:
35
plugins/pathParser/pathParser.yml
Normal file
35
plugins/pathParser/pathParser.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
# example plugin config
|
||||
name: Path Parser
|
||||
description: Updates scene info based on the file path.
|
||||
version: 1.0
|
||||
exec:
|
||||
- pathParser.js
|
||||
interface: js
|
||||
hooks:
|
||||
- name: Run Rules on scan
|
||||
description: Updates scene info whenever a new scene is added.
|
||||
triggeredBy:
|
||||
- Scene.Create.Post
|
||||
tasks:
|
||||
- name: Create Tags
|
||||
description: Create tags used by the path parser tasks.
|
||||
defaultArgs:
|
||||
task: createTags
|
||||
runTag: '[Run]'
|
||||
testTag: '[Test]'
|
||||
- name: Remove Tags
|
||||
description: Remove tags used by the path parser tasks.
|
||||
defaultArgs:
|
||||
task: removeTags
|
||||
runTag: '[Run]'
|
||||
testTag: '[Test]'
|
||||
- name: Run Rules
|
||||
description: Run rules for scenes containing the run tag.
|
||||
defaultArgs:
|
||||
task: runRules
|
||||
runTag: '[Run]'
|
||||
- name: Test Rules
|
||||
description: Test rules for scenes containing the test tag.
|
||||
defaultArgs:
|
||||
task: testRules
|
||||
testTag: '[Test]'
|
||||
Reference in New Issue
Block a user