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:
James 2011-08-25 16:32:57 -04:00
parent 7cfde811c9
commit 14e1e15830
3 changed files with 10 additions and 8 deletions

View file

@ -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";
}
}