diff --git a/airtime_mvc/application/models/StreamSetting.php b/airtime_mvc/application/models/StreamSetting.php index faf5e4f5f..4454560f0 100644 --- a/airtime_mvc/application/models/StreamSetting.php +++ b/airtime_mvc/application/models/StreamSetting.php @@ -284,8 +284,8 @@ class Application_Model_StreamSetting 'output' => 'icecast', 'user' => $config['stationId'], 'pass' => Application_Model_Preference::getDefaultIcecastPassword(), - // Kind of ugly... convert prefix int to ascii char - 'mount' => $config['stationId'] . '_' . chr($prefix[1] + 96), + // Manually setting default mountpoint + 'mount' => 'airtime_128', ); } diff --git a/airtime_mvc/application/views/scripts/embed/player.phtml b/airtime_mvc/application/views/scripts/embed/player.phtml index 6b4b2cfb4..0c8988174 100644 --- a/airtime_mvc/application/views/scripts/embed/player.phtml +++ b/airtime_mvc/application/views/scripts/embed/player.phtml @@ -21,9 +21,9 @@ this.settings = { 'elementId': id_element, // leave alone 'autoplay': false, // or true (only works on some browsers) - 'forceHTTPS': true, // or true if the stream is in SSL (beware of the listening port, usually 8000) - 'replacePort':false, // false for disabled or '8000' as the usual start port, forces to specify replacePortTo. - 'replacePortTo':'' // either '' to use the default port of the browser (80/http, 443/https) or '8443' to force the port of the stream. + 'forceHTTPS': false, // or true if the stream is in SSL (beware of the listening port, usually 8000) + 'replacePort': false, // false for disabled or '8000' as the usual start port, forces to specify replacePortTo. + 'replacePortTo': '' // either '' to use the default port of the browser (80/http, 443/https) or '8443' to force the port of the stream. }; if (this.playerMode == "manual") { @@ -109,7 +109,7 @@ Html5Player.prototype.play = function() { console.log('play'); - playerhtml5_audio.src = this.settings.url+'?'+Math.floor(Math.random() * Math.floor(100000)); + playerhtml5_audio.src = this.settings.url; playerhtml5_audio.play(); togglePlayStopButton(); };