Mailing List Archive

Livetv idle timer in 0.21: where to set?
Hi,

where are the settings located for it?

Greetings,
Flo
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Livetv idle timer in 0.21: where to set? [ In reply to ]
Am Dienstag 11.März 2008 08:59:44 schrieb flo:
> Hi,
>
> where are the settings located for it?
>
> Greetings,
> Flo
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Did anyone find this option yet? It seems it's not activated by default. Or
the timer is so high i never saw it in my tests :-)
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Livetv idle timer in 0.21: where to set? [ In reply to ]
Interesting. I had no idea this feature even existed, but doing a
quick search of the code I found it. Glancing at the code, it appears
to make sense and should work, but obviously I've never tried it, so
no guarantee that this is a finished, working feature.

Looking at the code, there is no place to set this in the GUI. You
will need to insert it into the database directly (in the settings
table). The setting name is LiveTVIdleTimeout, and the value is the
number of minutes after which to timeout.You can do that using the
following SQL command (replace <X> with the number of minutes you want
to set the timeout to, and replace <Y> with the hostname of your
frontend).

INSERT INTO `mythconverg`.`settings` (`value` ,`data` ,`hostname`)
VALUES ('LiveTVIdleTimeout', '<X>', '<Y>');


--
Ron
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Livetv idle timer in 0.21: where to set? [ In reply to ]
Am Donnerstag 13.März 2008 12:42:40 schrieb Ronald Frazier:
> Interesting. I had no idea this feature even existed, but doing a
> quick search of the code I found it. Glancing at the code, it appears
> to make sense and should work, but obviously I've never tried it, so
> no guarantee that this is a finished, working feature.
>
> Looking at the code, there is no place to set this in the GUI. You
> will need to insert it into the database directly (in the settings
> table). The setting name is LiveTVIdleTimeout, and the value is the
> number of minutes after which to timeout.You can do that using the
> following SQL command (replace <X> with the number of minutes you want
> to set the timeout to, and replace <Y> with the hostname of your
> frontend).
>
> INSERT INTO `mythconverg`.`settings` (`value` ,`data` ,`hostname`)
> VALUES ('LiveTVIdleTimeout', '<X>', '<Y>');

Thanks, tried it and it works. With 0.20.2 sometimes a frontend powered off
but livetv continued and 2 days later backend crashed. So this option is not
bad i think. I set it for all frontends to 300 min = 5 h.

Flo
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Livetv idle timer in 0.21: where to set? [ In reply to ]
On 03/13/2008 07:42 AM, Ronald Frazier wrote:
> Looking at the code, there is no place to set this in the GUI. You
> will need to insert it into the database directly (in the settings
> table). The setting name is LiveTVIdleTimeout, and the value is the
> number of minutes after which to timeout.You can do that using the
> following SQL command (replace <X> with the number of minutes you want
> to set the timeout to, and replace <Y> with the hostname of your
> frontend).
>
> INSERT INTO `mythconverg`.`settings` (`value` ,`data` ,`hostname`)
> VALUES ('LiveTVIdleTimeout', '<X>', '<Y>');

At least use MythWeb to set it... And/or full backup before messing
with the DB.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Livetv idle timer in 0.21: where to set? [ In reply to ]
Am Donnerstag, 13. März 2008 18:01:17 schrieb Michael T. Dean:
> On 03/13/2008 07:42 AM, Ronald Frazier wrote:
> > Looking at the code, there is no place to set this in the GUI. You
> > will need to insert it into the database directly (in the settings
> > table). The setting name is LiveTVIdleTimeout, and the value is the
> > number of minutes after which to timeout.You can do that using the
> > following SQL command (replace <X> with the number of minutes you want
> > to set the timeout to, and replace <Y> with the hostname of your
> > frontend).
> >
> > INSERT INTO `mythconverg`.`settings` (`value` ,`data` ,`hostname`)
> > VALUES ('LiveTVIdleTimeout', '<X>', '<Y>');
>
> At least use MythWeb to set it... And/or full backup before messing
> with the DB.

How do you set values which don't exist in mythweb?
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Livetv idle timer in 0.21: where to set? [ In reply to ]
On 03/13/2008 01:12 PM, Florian Bittner wrote:
> Am Donnerstag, 13. März 2008 18:01:17 schrieb Michael T. Dean:
>
>> On 03/13/2008 07:42 AM, Ronald Frazier wrote:
>>
>>> Looking at the code, there is no place to set this in the GUI. You
>>> will need to insert it into the database directly (in the settings
>>> table). The setting name is LiveTVIdleTimeout, and the value is the
>>> number of minutes after which to timeout.You can do that using the
>>> following SQL command (replace <X> with the number of minutes you want
>>> to set the timeout to, and replace <Y> with the hostname of your
>>> frontend).
>>>
>>> INSERT INTO `mythconverg`.`settings` (`value` ,`data` ,`hostname`)
>>> VALUES ('LiveTVIdleTimeout', '<X>', '<Y>');
>>>
>> At least use MythWeb to set it... And/or full backup before messing
>> with the DB.
> How do you set values which don't exist in mythweb?

I guess you can't. Sorry, I didn't realize that was the case.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Livetv idle timer in 0.21: where to set? [ In reply to ]
On 13/03/2008, Michael T. Dean <mtdean@thirdcontact.com> wrote:
> On 03/13/2008 07:42 AM, Ronald Frazier wrote:
> > Looking at the code, there is no place to set this in the GUI. You
> > will need to insert it into the database directly (in the settings
> > table). The setting name is LiveTVIdleTimeout, and the value is the
> > number of minutes after which to timeout.You can do that using the
> > following SQL command (replace <X> with the number of minutes you want
> > to set the timeout to, and replace <Y> with the hostname of your
> > frontend).
> >
> > INSERT INTO `mythconverg`.`settings` (`value` ,`data` ,`hostname`)
> > VALUES ('LiveTVIdleTimeout', '<X>', '<Y>');
>
>
> At least use MythWeb to set it... And/or full backup before messing
> with the DB.
>
> Mike
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I don't think it will show in mythweb until it is in the database.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Livetv idle timer in 0.21: where to set? [ In reply to ]
> > How do you set values which don't exist in mythweb?
>
> I guess you can't. Sorry, I didn't realize that was the case.

Though perhaps you inadvertently came up with a feature request. It
seems MythTV has lots of hidden setting that don't have gui configs,
so it would be nice to be able to add these in easily without asking
people to run SQL code.

--
Ron
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users