Add semi-colon to Shoutcast URLs to make them work with our player
This commit is contained in:
parent
195935cccf
commit
cffc3b7e59
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue