[mythtv-users] Getting the length of the program form mySQL

Christian Hack christianh at pdd.edmi.com.au
Thu Dec 11 20:09:07 EST 2003


> Hi,
> 
> I cant seem to find the table that has the length of a 
> recorded program in the mySQL db.
> mythweb has it, but I cnat see where it is grabbing it from. 
> Anyone have any ideas?

endtime - starttime = length.

In mythweb it's in /includes/programs.php line 368

	// Calculate the duration
		$this->length = $this->endtime - $this->starttime;


CH



More information about the mythtv-users mailing list