Merge pull request #920 from althost/live_fixx
input streams on ports 8001 or 8002 break the MVC
This commit is contained in:
commit
55d5b405ee
1 changed files with 4 additions and 2 deletions
|
@ -302,8 +302,10 @@ class ScheduleController extends Zend_Controller_Action
|
||||||
$range["previous"]["ends"] = Application_Common_DateHelper::UTCStringToUserTimezoneString($range["previous"]["ends"]);
|
$range["previous"]["ends"] = Application_Common_DateHelper::UTCStringToUserTimezoneString($range["previous"]["ends"]);
|
||||||
}
|
}
|
||||||
if (isset($range["current"])) {
|
if (isset($range["current"])) {
|
||||||
|
if (isset($range["current"]["metadata"])) {
|
||||||
$get_artwork = FileDataHelper::getArtworkData($range["current"]["metadata"]["artwork"], 256);
|
$get_artwork = FileDataHelper::getArtworkData($range["current"]["metadata"]["artwork"], 256);
|
||||||
$range["current"]["metadata"]["artwork_data"] = $get_artwork;
|
$range["current"]["metadata"]["artwork_data"] = $get_artwork;
|
||||||
|
}
|
||||||
$range["current"]["starts"] = Application_Common_DateHelper::UTCStringToUserTimezoneString($range["current"]["starts"]);
|
$range["current"]["starts"] = Application_Common_DateHelper::UTCStringToUserTimezoneString($range["current"]["starts"]);
|
||||||
$range["current"]["ends"] = Application_Common_DateHelper::UTCStringToUserTimezoneString($range["current"]["ends"]);
|
$range["current"]["ends"] = Application_Common_DateHelper::UTCStringToUserTimezoneString($range["current"]["ends"]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue