CC-5410 : Now playing icon should not lag to show up on calendar

This commit is contained in:
Naomi 2013-10-11 18:15:12 -04:00
parent f91cb39e46
commit 73e5fa8a90
2 changed files with 23 additions and 0 deletions

View file

@ -1082,6 +1082,14 @@ SQL;
$event["rebroadcast"] = intval($show["rebroadcast"]);
$event["soundcloud_id"] = is_null($show["soundcloud_id"])
? -1 : $show["soundcloud_id"];
//for putting the now playing icon on the show.
if ($now > $startsDT && $now < $endsDT) {
$event["nowPlaying"] = true;
}
else {
$event["nowPlaying"] = false;
}
//event colouring
if ($show["color"] != "") {