CC-3859: Playout History: Filter out songs that are not played out

- done
This commit is contained in:
James 2012-05-22 17:39:27 -04:00
parent 453b343284
commit 164c158c80
4 changed files with 29 additions and 5 deletions

View file

@ -254,6 +254,10 @@ class Application_Model_LiveLog
$sql_insert = "INSERT INTO CC_LIVE_LOG (state, start_time)"
." VALUES ('$state', '{$dateTime->format("Y-m-d H:i:s")}')";
$con->exec($sql_insert);
if($state == "S"){
// if scheduled play source is getting broadcasted
Application_Model_Schedule::UpdateBrodcastedStatus($dateTime, 1);
}
}
} catch (Exception $e) {