Removed crazy handling of flac.
This commit is contained in:
parent
78b0dcedfc
commit
a479a11c8f
2 changed files with 4 additions and 2 deletions
|
@ -413,8 +413,10 @@ class Application_Model_StoredFile
|
|||
return "ogg";
|
||||
} elseif ($mime == "audio/mp3" || $mime == "audio/mpeg") {
|
||||
return "mp3";
|
||||
} elseif ($mime == "audio/x/flac") {
|
||||
} elseif ($mime == "audio/x-flac") {
|
||||
return "flac";
|
||||
} else {
|
||||
throw new Exception("Unknown $mime");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue