Find Missing Scenes Automatically

I’m currently trying to figure out GraphQL using the playground in Stash, and having trouble obtaining my desired result.

My end goal is to receive a “report” with missing scenes from my favorite performers and/or studios.

Ideally it would be a simple python script that receives a Studio StashID or Performer StashID as an argument, then utilizes my API key for querying StashDB and identifies scenes missing from my local Stash instance and gives me a printout in the terminal of missing scene titles/dates/IDs.

Any insights that may help me understand the StashDB GraphQL schema better would be appreciated. I’m comfortable with using SQL to query/modify my local database, but not with collecting data from StashDB.

What you need to do is to identify the scenes in stash that you do have

GitHub - feederbox826/stashlist: Client + Server to flag scenes in stashbox have a look at my code, progress.user.js and also flagging existing scenes in stashlist.user.js

1 Like

Take a look at this plugin, it’s doing something similar to what you want:

1 Like