[mythtv-users] where are the mythtv-setup settings stored on the FS

Michael T. Dean mtdean at thirdcontact.com
Mon Dec 3 04:36:39 UTC 2007


On 12/02/2007 07:18 PM, Calvin Dodge wrote:
> On Dec 2, 2007 5:05 PM, Audio Phile <da_audiophile at yahoo.com> wrote:
>   
>> I'm looking to find out where in the file system the
>> "Shutdown/Wakeup Options" are stored. Currently, one
>>     
> The settings are in the "settings" table in the mythconverg database.
>   
>> can only have a max "Max Wait for Recording" of 120
>> min when setting this by the mythtv-setup (general
>> options>fifth screen). I'd like to increase it to 4
>> hours and am wondering if I can do so by editing a file.
>>     
> Use mysql to access the mythconverg database. Then run the following query:
>
> update settings set data='240' where value='idleWaitForRecordingTime'
> and hostname='YOURHOSTNAME';
>
> (substitute your server's hostname for YOURHOSTNAME, of course).

Nice.  Edit the database directly and insert invalid data into the DB. 
This is exactly why there exists a GUI for setting the data.  (And, I'm
not talking about the 240 when I say, "invalid."  I'd even be willing to
call the 240 just plain unsupported if it were inserted properly.)

To the OP, take a careful look at the existing data before you do the
update and you should see what's wrong.

Mike


More information about the mythtv-users mailing list