Lines 55-63
Link Here
|
55 |
load_one_program: |
55 |
load_one_program: |
56 |
a shortcut to load_all_program_data's single-program query |
56 |
a shortcut to load_all_program_data's single-program query |
57 |
*/ |
57 |
*/ |
58 |
function &load_one_program($start_time, $chanid) { |
58 |
function load_one_program(&$program, $start_time, $chanid) |
|
|
59 |
{ |
59 |
$program = &load_all_program_data($start_time, $start_time, $chanid, true); |
60 |
$program = &load_all_program_data($start_time, $start_time, $chanid, true); |
60 |
return $program; |
|
|
61 |
} |
61 |
} |
62 |
|
62 |
|
63 |
/* |
63 |
/* |
Lines 296-302
Link Here
|
296 |
elseif ($this->chanid) { |
296 |
elseif ($this->chanid) { |
297 |
unset($this->filename); |
297 |
unset($this->filename); |
298 |
// Redefine this object - we won't need any filesize information because this isn't a recorded program |
298 |
// Redefine this object - we won't need any filesize information because this isn't a recorded program |
299 |
$this = load_one_program($this->starttime, $this->chanid); |
299 |
load_one_program($this, $this->starttime, $this->chanid); |
300 |
} |
300 |
} |
301 |
// Load the remaining info we got from mythbackend |
301 |
// Load the remaining info we got from mythbackend |
302 |
$this->title = $program_data[0]; # program name/title |
302 |
$this->title = $program_data[0]; # program name/title |