Opened 12 years ago

Closed 12 years ago

#5308 closed defect (fixed)

idleTimer.start

Reported by: huge at ax dot ru Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords: idle timer
Cc: Ticket locked: no

Description

trunk/

idleTimer dialog appears after any keypress in TV playback. am testing with following patch now - so far seems to have fixed this problem

svn diff libs/libmythtv/tv_play.cpp Index: libs/libmythtv/tv_play.cpp =================================================================== --- libs/libmythtv/tv_play.cpp (revision 17246) +++ libs/libmythtv/tv_play.cpp (working copy) @@ -2602,7 +2602,10 @@

VERBOSE(VB_IMPORTANT, LOC + "ProcessKeypress?() ignoreKeys: "<<ignoreKeys);

#endif DEBUG_ACTIONS

  • idleTimer.start();

+ if (db_idle_timeout > 0) + { + idleTimer.start(); + }

bool was_doing_ff_rew = false; bool redisplayBrowseInfo = false;

@@ -2941,7 +2944,10 @@

if (result == 1) {

idleDialogTimer.stop();

  • idleTimer.start();

+ if (db_idle_timeout > 0) + { + idleTimer.start(); + }

} else {

Attachments (1)

idletimer-patch (965 bytes) - added by huge at ax dot ru 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by huge at ax dot ru

Attachment: idletimer-patch added

comment:1 Changed 12 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newaccepted

comment:2 Changed 12 years ago by danielk

Resolution: fixed
Status: acceptedclosed

(In [17250]) Fixes #5308. Don't start idle Timer if there is no idle timeout set in DB.

Note: See TracTickets for help on using tickets.