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
2 changed files with 3 additions and 2 deletions

View File

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

View File

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