stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
8.44k stars 749 forks source link

[Feature] Add stashID on Submission to Stash-box #5011

Open monketybot opened 1 week ago

monketybot commented 1 week ago

Is your feature request related to a problem? Please describe. Whenever a scene is submitted to Stash-box. In order to add the StashID to the scene, you would need to wait for the vote to pass and go back through scenes to add the stashID. The StashID is already created and given to Stash in the form of the link to draft, so it should be straightforward to also add it to the scene.

Describe the solution you'd like A checkbox for "Save StashID to Scene" added to the "Submit to Stash-box" Dialog box. On submission it automatically logs the new stashID against the scenes. image

Describe alternatives you've considered Another option is to keep a record of Scenes that have been submitted and their stashIDs so they can be later searched for and saved. I am currently doing this through a Tag but it is a clunky way of doing things.

Additional context Obviously in the case the Submission fails it's vote, this may lead to an issue where a saved stashID for a scene is not valid. This could link to #2903 where on checking for updates, it is flagged as not accepted.

DogmaDragon commented 1 week ago

UUIDs used for drafts are not tied to the UUID (which we refer to as StashID) given to the scene once it passes edit queue. They are complete different and for this request to be fulfilled it would need a change in stashapp/stash-box.

Think about this way, draft requires a unique UUID so that you can track them, but it has no reference to the UUID it will get once it passed. And it can't use static UUID since you need to be able to submit edits as drafts too, not just original submission.

monketybot commented 1 week ago

UUIDs used for drafts are not tied to the UUID (which we refer to as StashID) given to the scene once it passes edit queue. They are complete different and for this request to be fulfilled it would need a change in stashapp/stash-box.

Damn that is unfortunate. Still the alternative option of keeping track of Scenes that have been submitted to stash would be helpful.