[mythtv-users] Not using both tuners to full effect?
David Whyte
david.whyte at gmail.com
Sat Jan 15 04:44:10 EST 2005
I have been thinking. If folks put a value in the default start/end
offset, couldn't it just be made so that when you select a recording,
those values are automatically placed in the relevant fields when you
select to record a show? (much like the logic in the change I made).
That way, Myth should behave correctly right?
Dave
On Fri, 14 Jan 2005 09:53:20 -0500, James Pifer <jep at obrien-pifer.com> wrote:
> On Fri, 2005-01-14 at 09:14, David Whyte wrote:
> > okies, I have done it :D It required a change to the
> > program_detail.php page of the default theme, which is found under
> > mythweb/themes/Default/program_detail.php
> >
> > what was...
> >
> > <td><input type="input" name="startoffset" size="1" value="<?php echo
> > htmlentities($this_program->startoffset) ?>"></td>
> >
> > ...became...
> >
> > <td><input type="input" name="startoffset" size="1" value="<?php if
> > (htmlentities($this_program->startoffset) > 0) { echo
> > htmlentities($this_program->startoffset); } else { echo '2'; }
> > ?>"></td>
> >
> > ...for the start offset value. Identical for the endoffset value.
> >
> > I guess for this to work in all themes, this logic should be lifted up
> > into the object model, but I don't know much about that and I a happy
> > with this fix for now so it will do.
> >
> > Attached is the new file for those that might care.
> >
> > Dave - doing his first bit of Open Source coding :D
> >
>
> Excellent job on your first Open Source coding. Takes care of it for me!
>
> Thanks,
> James
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
--
GMAIL is 'da bomb baby....YEAH
More information about the mythtv-users
mailing list