[mythtv-users] Not using both tuners to full effect?
James Pifer
jep at obrien-pifer.com
Fri Jan 14 09:53:20 EST 2005
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
More information about the mythtv-users
mailing list