stash icon indicating copy to clipboard operation
stash copied to clipboard

[Feature] Start generating .webp for Markers immediately after marker creation

Open ALonelyJuicebox opened this issue 2 years ago • 3 comments

In its current state, Stash requires that a user manually run a generate task on the entire db, or manually start a generate task specifically on that scene in order to generate the animated webp for a given marker.

This two step process isn't terribly intuitive. I propose that Stash just start generation of a marker as soon as the user defines where the marker is located.

There's an existing GQL mutation (sceneMarkerCreate) that could be modified to have an option to specify whether or not the webp should be generated. Setting this value to default to "false" would help avoid any issues with existing plugins.

Given the direct user impact, I would prefer this feature be added as a core functionality rather than a plugin. Link to a short relevant RFC on discord here (https://discord.com/channels/559159668438728723/559399634318131210/1142009881847676959)

Thanks! 🙂

ALonelyJuicebox avatar Aug 28 '23 07:08 ALonelyJuicebox

I agree adding a Do It Now option makes sense, but adding a hook allows us more flexibility to do it on demand, batch it up, mleave it manual, etc.

Make it a setting (generate markers at once), but also add a hook for when the mutation is invoked.

scruffynerf avatar Nov 26 '23 05:11 scruffynerf

As a stopgap solution, I created a plugin https://github.com/feederbox826/plugins/tree/main/plugins/markergen

feederbox826 avatar Nov 30 '23 07:11 feederbox826

This issue has been mentioned on Stash. There might be relevant details there:

https://discourse.stashapp.cc/t/how-to-generate-webms-from-markers/4681/1

discourse-stashapp avatar Dec 08 '25 15:12 discourse-stashapp