File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
plugins/tagScenesWithPerfTags Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ def processScene(scene):
4242 if tag ["name" ] == settings ["excludeSceneWithTag" ]:
4343 should_tag = False
4444 break
45+
46+ if settings ['excludeSceneOrganized' ]:
47+ if scene ['organized' ]:
48+ should_tag = False
4549
4650 if should_tag :
4751 for perf in scene ["performers" ]:
@@ -64,6 +68,7 @@ def processScene(scene):
6468config = stash .get_configuration ()
6569settings = {
6670 "excludeSceneWithTag" : "" ,
71+ "excludeSceneOrganized" : False
6772}
6873if "tagScenesWithPerfTags" in config ["plugins" ]:
6974 settings .update (config ["plugins" ]["tagScenesWithPerfTags" ])
Original file line number Diff line number Diff line change 11name : Tag Scenes From Performer Tags
22description : tags scenes with performer tags.
3- version : 0.2.1
3+ version : 0.2.2
44exec :
55 - python
66 - " {pluginDir}/tagScenesWithPerfTags.py"
@@ -14,6 +14,10 @@ hooks:
1414 - Scene.Create.Post
1515
1616settings :
17+ excludeSceneOrganized :
18+ displayName : Exclude Scenes marked as organized
19+ description : Do not automatically tag scenes with performer tags if the scene is marked as organized
20+ type : BOOLEAN
1721 excludeSceneWithTag :
1822 displayName : Exclude Scenes with Tag from Hook
1923 description : Do not automatically tag scenes with performer tags if the scene has this tag
You can’t perform that action at this time.
0 commit comments