1
0
mirror of https://git.unlock-music.dev/um/cli.git synced 2025-04-11 20:11:14 +08:00

Merge pull request 'fix: .mflacm support' () from ccforeverd/cli:main into main

Reviewed-on: https://git.unlock-music.dev/um/cli/pulls/117
This commit is contained in:
鲁树人 2025-02-18 11:07:38 +00:00
commit 380ed78b6b

@ -263,7 +263,7 @@ func init() {
// New ogg/flac: // New ogg/flac:
extraExtsCanHaveSuffix := []string{"mgg", "mflac"} extraExtsCanHaveSuffix := []string{"mgg", "mflac"}
// Mac also adds some extra suffix to ext: // Mac also adds some extra suffix to ext:
extraExtSuffix := []string{"0", "1", "a", "h", "l"} extraExtSuffix := []string{"0", "1", "a", "h", "l", "m"}
for _, ext := range extraExtsCanHaveSuffix { for _, ext := range extraExtsCanHaveSuffix {
common.RegisterDecoder(ext, false, NewDecoder) common.RegisterDecoder(ext, false, NewDecoder)
for _, suffix := range extraExtSuffix { for _, suffix := range extraExtSuffix {