1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Flac type to ogg on html5 player

This commit is contained in:
Afterster 2013-11-12 23:58:34 +01:00
parent 7c18d4df47
commit cf836d6f8a

View file

@ -122,7 +122,7 @@ foreach($playlist->urls as $item)
$type = $ftype;
}
$jtype = ($type == "ogg") ? "oga" : $type;
$jtype = ($type == "ogg" || $type == "flac") ? "oga" : $type;
if (!in_array($jtype, $jtypes)) {
$jtypes[] = $jtype;