diff --git a/legacy/application/views/scripts/dashboard/stream-player.phtml b/legacy/application/views/scripts/dashboard/stream-player.phtml index f190a1027..536eaea1e 100644 --- a/legacy/application/views/scripts/dashboard/stream-player.phtml +++ b/legacy/application/views/scripts/dashboard/stream-player.phtml @@ -39,8 +39,10 @@ $url = $streamData["${id}_public_url"]; $type = $streamData["${id}_type"]; $serverType = $streamData["${id}_output"]; - if ($type == "ogg") + if ($type == "ogg" || $type == "opus") $type = "oga"; + if ($type == "aac") + $type = "m4a"; echo "setjPlayer('$url', '$type', '$serverType');"; } ?> @@ -71,8 +73,10 @@ $url = $streamData["${id}_public_url"]; $type = $streamData["${id}_type"]; $serverType = $streamData["${id}_output"]; - if ($type == "ogg") + if ($type == "ogg" || $type == "opus") $type = "oga"; + if ($type == "aac") + $type = "m4a"; $label = "(" . $streamData["${id}_host"] . ") " . $streamData["${id}_description"] . " - " . $streamData["${id}_bitrate"] . " kbit/s"; echo sprintf("", $id, $url, $type, $serverType, $label);