@@ -15,7 +15,7 @@ type Reader struct{}
|
|||||||
|
|
||||||
func (Reader) CanRead(absPath string) bool {
|
func (Reader) CanRead(absPath string) bool {
|
||||||
switch ext := strings.ToLower(filepath.Ext(absPath)); ext {
|
switch ext := strings.ToLower(filepath.Ext(absPath)); ext {
|
||||||
case ".mp3", ".flac", ".aac", ".m4a", ".m4b", ".ogg", ".opus", ".wma", ".wav", ".wv":
|
case ".mp3", ".flac", ".aac", ".m4a", ".m4b", ".ogg", ".opus", ".wma", ".wav", ".wv", ".ape":
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user