[mythtv-commits] Ticket #7802: Patch to turn on/off prompting for play from bookmark for videos

MythTV mythtv at cvs.mythtv.org
Sat Dec 26 12:45:29 UTC 2009


#7802: Patch to turn on/off prompting for play from bookmark for videos
-------------------------------------+--------------------------------------
 Reporter:  anonymous                |       Owner:  janne     
     Type:  patch                    |      Status:  new       
 Priority:  minor                    |   Milestone:  0.22      
Component:  MythTV - Video Playback  |     Version:  0.22-fixes
 Severity:  medium                   |     Mlocked:  0         
-------------------------------------+--------------------------------------
 There is a setting to turn off the play from bookmark/play from beginning
 prompt for DVDs, but no such option for videos. This patch makes videos
 follow the same setting as DVDs, since the prompt is "DVD/Video contains a
 bookmark". This helps avoid losing focus playing videos because of the bug
 listed in ticket 6815.

 Index: programs/mythfrontend/main.cpp
 ===================================================================
 --- programs/mythfrontend/main.cpp    (revision 23007)
 +++ programs/mythfrontend/main.cpp    (working copy)
 @@ -793,7 +793,7 @@
      else if (pginfo->isVideo)
          pos = pginfo->GetBookmark();

 -    if (pos > 0)
 +    if (gContext->GetNumSetting("DVDBookmarkPrompt", 0) && pos > 0)
      {
          QString msg = QObject::tr("DVD/Video contains a bookmark");
          QString btn0msg = QObject::tr("Play from bookmark");

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7802>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list