diff --git a/plugins/TPDBMarkers/TPDBMarkers.yml b/plugins/TPDBMarkers/TPDBMarkers.yml index 0169f98d..1ccd8caa 100644 --- a/plugins/TPDBMarkers/TPDBMarkers.yml +++ b/plugins/TPDBMarkers/TPDBMarkers.yml @@ -1,6 +1,6 @@ name: The Porn DB Markers description: Sync Markers from The Porn DB aka theporndb.net -version: 0.4.2 +version: 0.4.3 url: https://github.com/stashapp/CommunityScripts/ exec: - python diff --git a/plugins/TPDBMarkers/tpdbMarkers.py b/plugins/TPDBMarkers/tpdbMarkers.py index 7673d403..d9e688d5 100644 --- a/plugins/TPDBMarkers/tpdbMarkers.py +++ b/plugins/TPDBMarkers/tpdbMarkers.py @@ -61,7 +61,7 @@ def processScene(scene): # skip if there is already a group linked if settings["createMovieFromScene"] and len(scene.get("groups", [])) == 0: groups=[] - for g in data["groups"]: + for g in data["movies"]: group=processGroup(g) if group: groups.append({"group_id": group["id"],"scene_index":None})