From 377ba6d3036b5e7ececa17e7150aee3faead1898 Mon Sep 17 00:00:00 2001 From: donlothario Date: Wed, 3 Sep 2025 04:23:49 +0200 Subject: [PATCH] Fix GraphQL Validation is Failing for timestampTrade and TPBMarkers (#608) --- plugins/TPDBMarkers/tpdbMarkers.py | 4 +++- plugins/timestampTrade/timestampTrade.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/TPDBMarkers/tpdbMarkers.py b/plugins/TPDBMarkers/tpdbMarkers.py index 51c7316..0b3ddbf 100644 --- a/plugins/TPDBMarkers/tpdbMarkers.py +++ b/plugins/TPDBMarkers/tpdbMarkers.py @@ -202,7 +202,9 @@ if TPDB_ENDPOINT in [ PLUGIN_ARGS = json_input["args"]["mode"] if "processScene" == PLUGIN_ARGS: if "scene_id" in json_input["args"]: - scene = stash.find_scene(json_input["args"]["scene_id"]) + scene = stash.find_scene( + json_input["args"]["scene_id"], + fragment='id urls stash_ids {endpoint stash_id} groups {scene_index group {id}} tags {id} scene_markers {id} interactive files { path duration fingerprint(type: "phash")}') processScene(scene) else: processAll() diff --git a/plugins/timestampTrade/timestampTrade.py b/plugins/timestampTrade/timestampTrade.py index a948e55..ca18254 100644 --- a/plugins/timestampTrade/timestampTrade.py +++ b/plugins/timestampTrade/timestampTrade.py @@ -1443,7 +1443,9 @@ if "mode" in json_input["args"]: "id" ) if "scene_id" in json_input["args"]: - scene = stash.find_scene(json_input["args"]["scene_id"]) + scene = stash.find_scene( + json_input["args"]["scene_id"], + fragment='id urls stash_ids {endpoint stash_id} groups {scene_index group {id}} tags {id} scene_markers {id} interactive files { path duration fingerprint(type: "phash")}') processScene(scene) else: query = {