We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90bacb8 commit e808094Copy full SHA for e808094
plugins/videoChapterMarkers/videoChapterMarkers.py
@@ -110,9 +110,9 @@ def processAll():
110
PLUGIN_ARGS = json_input["args"]["mode"]
111
if "processAll" == PLUGIN_ARGS:
112
processAll()
113
- elif "hookContext" in json_input["args"]:
114
- _id = json_input["args"]["hookContext"]["id"]
115
- _type = json_input["args"]["hookContext"]["type"]
116
- if _type == "Scene.Update.Post":
117
- scene = stash.find_scene(_id)
118
- processScene(scene)
+if "hookContext" in json_input["args"]:
+ _id = json_input["args"]["hookContext"]["id"]
+ _type = json_input["args"]["hookContext"]["type"]
+ if _type == "Scene.Update.Post":
+ scene = stash.find_scene(_id)
+ processScene(scene)
0 commit comments