CC-5285: API Request: Get ON AIR light status

This commit is contained in:
drigato 2013-07-24 15:30:49 -04:00
parent d9859ff006
commit 4cbbd1145b
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class ApiController extends Zend_Controller_Action
$isItemCurrentlyScheduled = !is_null($range["current"]) && count($range["currentShow"]) > 0 ? true : false;
$isCurrentItemPlaying = !isset($range["current"]["media_item_played"]) ? true : false;
$isCurrentItemPlaying = $range["current"]["media_item_played"] ? true : false;
if ($isItemCurrentlyScheduled ||
Application_Model_Preference::GetSourceSwitchStatus("live_dj") == "on" ||