Various fixes from Discord discussions.
This commit is contained in:
Stash Dev
2019-03-27 08:34:04 -07:00
parent e05d187a77
commit 2e57c2a17a
5 changed files with 41 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ func (s *singleton) Scan() {
var results []string
for _, path := range config.GetStashPaths() {
globPath := filepath.Join(path, "**/*.{zip,m4v,mp4,mov,wmv,avi}")
globPath := filepath.Join(path, "**/*.{zip,m4v,mp4,mov,wmv,avi,mpg,mpeg,rmvb,rm,flv,asf,mkv,webm}") // TODO: Make this configurable
globResults, _ := doublestar.Glob(globPath)
results = append(results, globResults...)
}