Ticket #1054: mythweb.oldrecorded.2.diff
File mythweb.oldrecorded.2.diff, 3.6 KB (added by , 20 years ago) |
---|
-
config/conf.php
96 96 The following constants are defined for the recorded programs page 97 97 98 98 */ 99 define('show_recorded_pixmaps', true);99 define('show_recorded_pixmaps', false); 100 100 101 101 /* 102 102 -
includes/programs.php
128 128 FROM program 129 129 LEFT JOIN programrating USING (chanid, starttime) 130 130 LEFT JOIN oldrecorded 131 ON LENGTH(IFNULL(oldrecorded.seriesid, "")) > 0 132 AND LENGTH(IFNULL(oldrecorded.programid, "")) > 0 133 AND oldrecorded.programid = program.programid 134 AND oldrecorded.seriesid = program.seriesid 131 ON oldrecorded.programid = program.programid 132 AND oldrecorded.seriesid = program.seriesid 133 AND (oldrecorded.recstatus = -3 134 OR ((LENGTH(IFNULL(oldrecorded.seriesid, "")) > 0 135 AND LENGTH(IFNULL(oldrecorded.programid, "")) > 0))) 135 136 WHERE'; 136 137 // Only loading a single channel worth of information 137 138 if ($chanid > 0) … … 299 300 #$this->inputid = $data[19]; 300 301 $this->recpriority = $data[20]; 301 302 $this->recstatus = $data[21]; 302 $this->conflicting = ($this->recstatus == 'Conflict'); # conflicts with another scheduled recording?303 $this->recording = ($this->recstatus == 'WillRecord'); # scheduled to record?304 303 $this->recordid = $data[22]; 305 304 $this->rectype = $data[23]; 306 305 $this->dupin = $data[24]; … … 366 365 } 367 366 } 368 367 // Turn recstatus into a word 369 if (isset($this->recstatus) && $GLOBALS['RecStatus_Types'][$this->recstatus]) 368 if (isset($this->recstatus) && $GLOBALS['RecStatus_Types'][$this->recstatus]) { 369 370 370 $this->recstatus = $GLOBALS['RecStatus_Types'][$this->recstatus]; 371 $this->conflicting = ($this->recstatus == 'Conflict'); # conflicts with another scheduled recording? 372 $this->recording = ($this->recstatus == 'WillRecord'); # scheduled to record? 373 } 371 374 // No longer a null column, so check for blank entries 372 375 if ($this->airdate == '0000-00-00') 373 376 $this->airdate = NULL; -
modules/tv/upcoming.php
67 67 || $_SESSION['scheduled_recordings']['disp_deactivated'] 68 68 || $_SESSION['scheduled_recordings']['disp_conflicts'])) { 69 69 $_SESSION['scheduled_recordings'] = array('disp_scheduled' => true, 70 'disp_duplicates' => true,71 'disp_deactivated' => true,70 'disp_duplicates' => false, 71 'disp_deactivated' => false, 72 72 'disp_conflicts' => true 73 73 ); 74 74 }