[mythtv] [PATCH] Sleep timer #2

mian mythtv at mian.net.au
Tue Mar 2 03:11:46 EST 2004


This is a small adjustment to the last sleep patch which is now in CVS
allowing you to use it while watching recordings aswell as live TV.

--
Damian
-------------- next part --------------
--- work-orig/mythtv/libs/libmythtv/tv_play.cpp	2004-03-02 18:32:30.924163224 +1030
+++ work/mythtv/libs/libmythtv/tv_play.cpp	2004-03-02 18:33:44.270012960 +1030
@@ -1620,6 +1620,8 @@
                 DoSeek(-jumptime * 60, tr("Jump Back"));
             else if (action == "CHANNELDOWN")
                 DoSeek(jumptime * 60, tr("Jump Ahead"));
+            else if (action == "TOGGLESLEEP")
+                ToggleSleepTimer();
             else
                 handled = false;
         }
--- work-orig/mythtv/keys.txt	2004-03-02 18:32:30.607211408 +1030
+++ work/mythtv/keys.txt	2004-03-02 18:37:14.757014072 +1030
@@ -51,6 +51,7 @@
   16:9 Zoom, and 16:9 Stretch (eliminates black sidebars in TV signal)
 - Left (if a jump amount is entered) to jump back that amount.
 - Right (if a jump amount is entered) to jump ahead that amount.
+- F8 to toggle the sleep timer 30m->1hr->1hr30m->2hr->Off
 
 Without the stickykeys option selected:
 
@@ -87,7 +88,6 @@
 - H Channel history. Each repeat steps back through the previous channels.
 - O Turns on 'Browse' mode, allowing user to browse channels and program
     info while watching current show FullScreen.
-- F8 to toggle the sleep timer 30m->1hr->1hr30m->2hr->Off
 
 LiveTV Browse Mode:
 - Left          browse program prior to current listed program.


More information about the mythtv-dev mailing list