stash icon indicating copy to clipboard operation
stash copied to clipboard

[Feature] Extend video-in-gallery support to archives

Open ghost opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. Currently if a gallery contains video clips, they will only be detected by Stash if the gallery is in a folder with loose files, and not an archive like a .zip file.

Describe the solution you'd like Allow videos in archive files to be added to stash like with loose files. When scanning old archives that have already been added into Stash, missing video files should be added retroactively.

ghost avatar Aug 30 '23 06:08 ghost

A valid request I think, just a word about the complexity of it: Right now, the zip galleries have been specifically implemented, as reading the data from there without unpacking it means some weird handling of file paths and data streams. ALL of this would have to be expanded to video files in general, the support file generation and metadata reading (and there are more of them naturally than with images), which would actually mean that this way scenes could be inside of archives as well. Not that this is a bad thing, but it can become relatively difficult and also complicated as (right now) scenes cannot be part of galleries. If the latter would be solved that would be a likely adjacent, easy to implement request, but its unlikely (and unpractical) that it would be handled the other way around.

yoshnopa avatar Aug 30 '23 11:08 yoshnopa

https://github.com/stashapp/stash/pull/6288#issuecomment-3573070538 Co-opting this issue to handle video-in-gallery seeking and generation (includes HEIC and AVIF image in video-container formats)

feederbox826 avatar Nov 28 '25 00:11 feederbox826