[mythtv] [BUG] MythVideo Parental Gizmo
DanM
dan at milkcarton.com
Fri Nov 14 23:50:48 EST 2003
Found a bug in MythVideo w/ the parental level stuff. If you press the
up or down arrows, it doesn't prompt you for the parental pin. But if
you press the number keys, it prompts you correctly. I would submit a
patch, but the wife factor is in full swing right now. UPDATE: I
decided to write the patch, but its 100% not tested (because of the
afore mentioned factor), but should work fine. If someone could test
this, that would be cool.
-dan
-------------- next part --------------
Index: videobrowser.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythvideo/mythvideo/videobrowser.cpp,v
retrieving revision 1.19
diff -u -d -r1.19 videobrowser.cpp
--- videobrowser.cpp 24 Sep 2003 16:15:32 -0000 1.19
+++ videobrowser.cpp 15 Nov 2003 04:46:23 -0000
@@ -598,6 +598,7 @@
currentParentalLevel++;
if (currentParentalLevel > 4)
currentParentalLevel = 4;
+ setParentalLevel(currentParentalLevel);
inData = 0;
RefreshMovieList();
SetCurrentItem();
@@ -610,6 +611,7 @@
currentParentalLevel--;
if (currentParentalLevel < 1)
currentParentalLevel = 1;
+ setParentalLevel(currentParentalLevel);
inData = 0;
RefreshMovieList();
SetCurrentItem();
More information about the mythtv-dev
mailing list