[mythtv-users] Lost Shedule Options defaults since partial restore (fixes 0.26)

Michael T. Dean mtdean at thirdcontact.com
Thu Apr 25 21:54:06 UTC 2013


On 04/25/2013 02:31 PM, Paul Gardiner wrote:
> On 25/04/2013 16:52, Michael T. Dean wrote:
>> On 04/25/2013 11:44 AM, Paul Gardiner wrote:
>>> On 25/04/2013 15:55, netstruggler . wrote:
>>>>> Yeah, but before I did a partial restore mythweb was picking up 
>>>>> default
>>>>> values for Start Early and End Late from somewhere, so I was guessing
>>>>> that it was picking them up from some old settings that have remained
>>>>> through the various upgrades I'd done since I started using MythTV.
>>>>> If that's so, I could add in those old settings by hand.
>>>>
>>>> Possibly:
>>>>
>>>> settings.DefaultStartOffset
>>>> settings.DefaultEndOffset
>>>>
>>>> value in minutes, hostname=NULL
>>>
>>> Brilliant that's them. mythweb is now showing the values. Any chance 
>>> you
>>> also know the one to get "Look up Metadata" checked too?
>>
>> There is none.
>
> There is on netstruggler's system, and now on mine too. :-)
>
>> As a matter of fact, there is no longer any
>> DefaultStartOffset or DefaultEndOffset, either.  The right way to get
>> support for presets on recording rules is to write support for
>> templates.  If you're not interested in doing that, just hack the PHP in
>> MythWeb to write in the values you want.
>
> I do except what you're saying though. I wouldn't mind having a go at
> hacking PHP just so that it picks up the values from the Default
> template, but I imagine you were intending there be a way to select
> other templates too.

What I meant by "hack it" was put the value you want for yourself 
directly in the PHP.  If you make it pull the value out of the template, 
you're basically doing the patch to add template support to MythWeb.

Mike


More information about the mythtv-users mailing list