CC-2703: orange progress bar is playing when there is not content
-fixed
This commit is contained in:
parent
75040e867d
commit
c0189e3c5d
|
@ -69,11 +69,15 @@ class Application_Model_Dashboard
|
||||||
} else {
|
} else {
|
||||||
if (count($row) == 0){
|
if (count($row) == 0){
|
||||||
//last item is a show instance
|
//last item is a show instance
|
||||||
return array("name"=>$showInstance->getName(),
|
if ($showInstance->isRecorded()){
|
||||||
"starts"=>$showInstance->getShowStart(),
|
return array("name"=>$showInstance->getName(),
|
||||||
"ends"=>$showInstance->getShowEnd(),
|
"starts"=>$showInstance->getShowStart(),
|
||||||
"media_item_played"=>false,
|
"ends"=>$showInstance->getShowEnd(),
|
||||||
"record"=>$showInstance->isRecorded());
|
"media_item_played"=>false,
|
||||||
|
"record"=>true);
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
return array("name"=>$row[0]["artist_name"]." - ".$row[0]["track_title"],
|
return array("name"=>$row[0]["artist_name"]." - ".$row[0]["track_title"],
|
||||||
"starts"=>$row[0]["starts"],
|
"starts"=>$row[0]["starts"],
|
||||||
|
|
Loading…
Reference in New Issue