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 {
|
||||
if (count($row) == 0){
|
||||
//last item is a show instance
|
||||
if ($showInstance->isRecorded()){
|
||||
return array("name"=>$showInstance->getName(),
|
||||
"starts"=>$showInstance->getShowStart(),
|
||||
"ends"=>$showInstance->getShowEnd(),
|
||||
"media_item_played"=>false,
|
||||
"record"=>$showInstance->isRecorded());
|
||||
"record"=>true);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
} else {
|
||||
return array("name"=>$row[0]["artist_name"]." - ".$row[0]["track_title"],
|
||||
"starts"=>$row[0]["starts"],
|
||||
|
|
Loading…
Reference in New Issue