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

Paul Gardiner lists at glidos.net
Thu Apr 25 22:20:04 UTC 2013


On 25/04/2013 22:54, Michael T. Dean wrote:
> 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.

Oh yeah. I understood what you meant, but I have a workable hack now
just by adding the old deprecated values to the database.

> If you make it pull the value out of the template,
> you're basically doing the patch to add template support to MythWeb.

Well if getting that much working would be considered a reasonable
patch, I may have a go.

Paul.


More information about the mythtv-users mailing list