changeset 35556:970ae81f8aee

Change internal automatic audio CD track advancing. Don't call uiNext() if not playing. (Though it won't hurt calling it, it changes the track number.)
author ib
date Mon, 10 Dec 2012 11:30:54 +0000
parents 069de6f47ec1
children 11c649dc2907
files gui/interface.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Dec 10 02:27:55 2012 +0000
+++ b/gui/interface.c	Mon Dec 10 11:30:54 2012 +0000
@@ -817,11 +817,9 @@
             break;
         }
 
-        if (guiInfo.StreamType == STREAMTYPE_CDDA) {
+        if ((guiInfo.StreamType == STREAMTYPE_CDDA) && guiInfo.Playing) {
             uiNext();
-
-            if (guiInfo.Playing)
-                break;
+            break;
         }
 
         if (guiInfo.Playing)