forked from stashapp/CommunityScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pathParser.yml
35 lines (35 loc) · 927 Bytes
/
pathParser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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]'