Fix GraphQL Validation is Failing for timestampTrade and TPBMarkers (#608)

This commit is contained in:
donlothario 2025-09-03 04:23:49 +02:00 committed by GitHub
parent a313a93759
commit 377ba6d303
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -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()

View File

@ -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 = {