File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
plugins/tagScenesWithPerfTags Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -72,15 +72,14 @@ def processScene(scene):
7272 PLUGIN_ARGS = json_input ["args" ]["mode" ]
7373 if "processAll" in PLUGIN_ARGS :
7474 processAll ()
75-
76-
7775elif "hookContext" in json_input ["args" ]:
7876 id = json_input ["args" ]["hookContext" ]["id" ]
7977 if (
8078 (
8179 json_input ["args" ]["hookContext" ]["type" ] == "Scene.Update.Post"
8280 or "Scene.Create.Post"
83- ) and len (json_input ["args" ]["hookContext" ]["inputFields" ]) > 2
81+ ) and "inputFields" in json_input ["args" ]["hookContext" ]
82+ and len (json_input ["args" ]["hookContext" ]["inputFields" ]) > 2
8483 ):
8584 scene = stash .find_scene (id )
8685 processScene (scene )
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
3+ version : 0.2.1
44exec :
55 - python
66 - " {pluginDir}/tagScenesWithPerfTags.py"
You can’t perform that action at this time.
0 commit comments