File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
plugins/videoChapterMarkers Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ def processAll():
110110 PLUGIN_ARGS = json_input ["args" ]["mode" ]
111111 if "processAll" == PLUGIN_ARGS :
112112 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 )
113+ if "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 )
Original file line number Diff line number Diff line change 11name : Video Chapter Markers
22description : Create markers from chapter information embedded in video files
3- version : 1.0
3+ version : 1.1
44url : https://github.com/stashapp/CommunityScripts/tree/main/plugins/videoChapterMarkers
55exec :
66 - python
1616 - name : Create Markers on Scene Update
1717 description : Extract chapters and create markers when a scene is updated
1818 triggeredBy :
19- - Scene.Update.Post
19+ - Scene.Update.Post
You can’t perform that action at this time.
0 commit comments