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

mythtv mythtv at bruce.homelinux.com
Fri Dec 12 01:40:28 EST 2003


That doesnt seem to work for programs that fall over a 2 day span. Start
recording at 11pm end at 1am the next day.
Then what?
Bruce

Christian Hack wrote:

> > 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
>
>   ------------------------------------------------------------------------
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list