Folder Gallery creation on a per folder basis (#3715)

* GalleryInExClusion // Create Gallery from folder based on file, short description in setting
* GalleryInExClusion // No Folderiteration, expansion of docs
* GalleryInExClusion // Only accept lowercase files
* GalleryInExClusion // Correct text in settings
This commit is contained in:
yoshnopa
2023-05-10 03:37:01 +02:00
committed by GitHub
parent 61c0098ae6
commit 0069c48e7e
3 changed files with 31 additions and 3 deletions

View File

@@ -36,6 +36,18 @@ exclude:
_a useful [link](https://regex101.com/) to experiment with regexps_
## Gallery Creation from Folders
In the Library section you can find an option to create a gallery from each folder containing images. This will be applied on all libraries when activated, including the base folder of a library.
If you wish to apply this on a per folder basis, you can create a file called **.nogallery** or **.forcegallery** in a folder that should act different than this global setting.
This will either exclude the folder from becoming a gallery even if the setting is set, or create a gallery from the folder even if the setting is not set.
The file will only be recognized if written in lower case letters.
Files with a dot in front are handled as hidden in the Linux OS and Mac OS, so you will not see those files after creation on your system without setting your file manager accordingly.
## Hashing algorithms
Stash identifies video files by calculating a hash of the file. There are two algorithms available for hashing: `oshash` and `MD5`. `MD5` requires reading the entire file, and can therefore be slow, particularly when reading files over a network. `oshash` (which uses OpenSubtitle's hashing algorithm) only reads 64k from each end of the file.