Fixed up syntax error introduced by last commit
This commit is contained in:
parent
713a158bb3
commit
e8a0ace018
1 changed files with 3 additions and 1 deletions
|
@ -1517,10 +1517,12 @@ class ApiController extends Zend_Controller_Action
|
||||||
$streamData = Application_Model_StreamSetting::getEnabledStreamData();
|
$streamData = Application_Model_StreamSetting::getEnabledStreamData();
|
||||||
|
|
||||||
foreach ($streamData as $stream) {
|
foreach ($streamData as $stream) {
|
||||||
$m3uFile .= "#EXTINF,".$stationName." - " . strtoupper($stream['codec']) . "\r\n";
|
$m3uFile .= "#EXTINF," . $stationName . " - " . strtoupper($stream['codec']) . "\r\n";
|
||||||
$m3uFile .= $stream['url'] . "\r\n\r\n";
|
$m3uFile .= $stream['url'] . "\r\n\r\n";
|
||||||
}
|
}
|
||||||
echo $m3uFile;
|
echo $m3uFile;
|
||||||
|
}
|
||||||
|
|
||||||
public function recalculateScheduleAction()
|
public function recalculateScheduleAction()
|
||||||
{
|
{
|
||||||
$this->view->layout()->disableLayout();
|
$this->view->layout()->disableLayout();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue