stash-box icon indicating copy to clipboard operation
stash-box copied to clipboard

[Feature] Groups in stash-box

Open neru2132 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. It is currently possible in Stash to express all manner of scene relations via the Groups feature, but there is currently no way of persisting this information in stash-box. It would be very nice be able to transfer basic group data back and forth between Stash and stash-box. This would not have to be a full-fledged implementation of #663 but could instead be a much more simple stop-gap solution that simply mirrors all the Stash fields in stash-box.

Describe the solution you'd like

  • A new tab "Groups" on the same hierarchy level as "Performers", "Scenes", "Studios", "Tags", etc.
  • Groups can be created and can hold other groups (except parent groups) and scenes. Alternatively, you could allow only groups of groups or groups of scenes. Yet another alternative would be to not allow subgroups at all. This would have the drawback of making it impossible for stash-box communities to define top level meta groups like "Series", "Release Groups", "Top Lists", etc.
  • Groups can be added to scenes when editing scenes and scenes/groups can be added to groups when editing groups. (No preferences on my part on how/if ordering is implemented, though it would be nice of top lists etc.)
  • On the scene page, all groups the scene is a part of are listed. This could be hidden in a separate tab at first.
  • Stash IDs for groups
  • Scraping scenes pulls group information. Matches are based on Stash ID (and potentially name). Group content discrepancies are ignored.
  • Freshly scraped unmatched groups can be created including all their parent groups
  • Submission drafts for scenes treat groups the same way performers are treated, i.e. they match only when the Stash ID matches, otherwise they have to be selected manually.
  • No group submission via draft (at least for non-empty groups).

Additional context I have tried to suggest only changes that would not block further developments aimed at completing #663. As such, I tried keeping the description as generic as possible. However, I think there are a great deal of practical applications for this feature that could be organically birthed by communities like StashDB or others. I am aware that even while trying to keep the changes to a minimum, the effort required for completing this feature would already be quite large, but I think stash-box would benefit tremendously from supporting a feature like this, especially since it's not viable to share Stash instances and collaborate on groups that way.

neru2132 avatar Nov 14 '24 21:11 neru2132

If I'm understanding things right it looks like this ticket might be a more up-to-date version of this https://github.com/stashapp/stash-box/issues/459 given that the Movies entity was renamed to Groups. I'd also love to see this added :)

secondfolder avatar Feb 13 '25 22:02 secondfolder