mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-07 05:46:38 +08:00
Add ISO media scan support
This commit is contained in:
@@ -43,9 +43,14 @@ var videoExtensions = map[string]struct{}{
|
||||
".3gp": {},
|
||||
".mpg": {},
|
||||
".mpeg": {},
|
||||
".iso": {},
|
||||
".strm": {},
|
||||
}
|
||||
|
||||
func mediaExtensionSupportsProbe(ext string) bool {
|
||||
return ext != ".strm" && ext != ".iso"
|
||||
}
|
||||
|
||||
// ScannerService walks libraries on disk and upserts model.Media rows.
|
||||
type ScannerService struct {
|
||||
cfg *config.Config
|
||||
|
||||
Reference in New Issue
Block a user