CC-2733: Resume play is broken: mp3 files skipped
- killing old pypo and liquidsoap processes - comparing mime type againt old type of mime
This commit is contained in:
parent
7cfde811c9
commit
14e1e15830
3 changed files with 10 additions and 8 deletions
|
@ -395,10 +395,10 @@ class StoredFile {
|
|||
{
|
||||
$mime = $this->_file->getDbMime();
|
||||
|
||||
if ($mime == "audio/vorbis") {
|
||||
if ($mime == "audio/vorbis" || $mime == "application/ogg") {
|
||||
return "ogg";
|
||||
}
|
||||
else if ($mime == "audio/mp3") {
|
||||
else if ($mime == "audio/mp3" || $mime == "audio/mpeg") {
|
||||
return "mp3";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue