Add semi-colon to Shoutcast URLs to make them work with our player

This commit is contained in:
Albert Santoni 2015-06-29 16:36:19 -04:00
parent 195935cccf
commit cffc3b7e59
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class Application_Model_StreamSetting
$port = $streamData[$prefix."port"]; $port = $streamData[$prefix."port"];
$mount = $streamData[$prefix."mount"]; $mount = $streamData[$prefix."mount"];
if ($streamData[$prefix."output"] == "shoutcast") { if ($streamData[$prefix."output"] == "shoutcast") {
$url = "http://$host:$port/"; $url = "http://$host:$port/;"; //The semi-colon is important to make Shoutcast stream URLs play instead turn into a page.
} else { //Icecast } else { //Icecast
$url = "http://$host:$port/$mount"; $url = "http://$host:$port/$mount";
} }