Add cbz to supported extensions as gallery (#774)

This commit is contained in:
bnkai 2020-08-31 07:21:49 +03:00 committed by GitHub
parent c1d22f60a9
commit b437425a41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -14,8 +14,8 @@ import (
"github.com/stashapp/stash/pkg/utils"
)
var extensionsToScan = []string{"zip", "m4v", "mp4", "mov", "wmv", "avi", "mpg", "mpeg", "rmvb", "rm", "flv", "asf", "mkv", "webm"}
var extensionsGallery = []string{"zip"}
var extensionsToScan = []string{"zip", "cbz", "m4v", "mp4", "mov", "wmv", "avi", "mpg", "mpeg", "rmvb", "rm", "flv", "asf", "mkv", "webm"}
var extensionsGallery = []string{"zip", "cbz"}
func constructGlob() string { // create a sequence for glob doublestar from our extensions
var extList []string

View file

@ -20,6 +20,7 @@ const markup = `
* Add support for parent/child studios.
### 🎨 Improvements
* Support cbz galleries.
* Improve sprite generation performance.
* Make preview generation more fault-tolerant.
* Allow clearing of images and querying on missing images.