fix(taglib): support lower case filenames again

fixes #491
This commit is contained in:
sentriz
2024-04-04 10:05:48 +01:00
parent 99233ec318
commit 8a0fa05c7c
+1 -1
View File
@@ -13,7 +13,7 @@ import (
type TagLib struct{}
func (TagLib) CanRead(absPath string) bool {
switch ext := filepath.Ext(absPath); ext {
switch ext := strings.ToLower(filepath.Ext(absPath)); ext {
case ".mp3", ".flac", ".aac", ".m4a", ".m4b", ".ogg", ".opus", ".wma", ".wav", ".wv":
return true
}