shows time filled in show, with progress bar and time.
This commit is contained in:
parent
25c7d4cb90
commit
86a4998e0a
5 changed files with 59 additions and 8 deletions
|
@ -556,6 +556,15 @@ class Show {
|
|||
return $event;
|
||||
}
|
||||
|
||||
public function getShowLength($start_timestamp, $end_timestamp){
|
||||
global $CC_DBC;
|
||||
|
||||
$sql = "SELECT TIMESTAMP '{$end_timestamp}' - TIMESTAMP '{$start_timestamp}' ";
|
||||
$length = $CC_DBC->GetOne($sql);
|
||||
|
||||
return $length;
|
||||
}
|
||||
|
||||
public function searchPlaylistsForShow($start_timestamp, $search=null){
|
||||
global $CC_DBC;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue