mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-23 15:20:33 +03:00
Fix pls ignoring
This commit is contained in:
parent
17830d63b4
commit
681849d174
@ -19,6 +19,8 @@ func init() {
|
||||
".shn": "audio/x-shn",
|
||||
".aif": "audio/x-aiff",
|
||||
".aiff": "audio/x-aiff",
|
||||
".m3u": "audio/x-mpegurl",
|
||||
".pls": "audio/x-scpls",
|
||||
".gif": "image/gif",
|
||||
".jpg": "image/jpeg",
|
||||
".jpeg": "image/jpeg",
|
||||
|
@ -8,6 +8,7 @@ import (
|
||||
|
||||
var excludeAudioType = []string{
|
||||
"audio/x-mpegurl",
|
||||
"audio/x-scpls",
|
||||
}
|
||||
|
||||
func IsAudioFile(filePath string) bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user