summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-04-27 10:18:08 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-04-27 10:18:08 +0200
commitcffde6ee0951c4ced016860901f942b674eed1c1 (patch)
tree08c40510667bbc48ca5f3c420bfef5b4ddfdc91e
parent2266b0e633f209bcfe3f4c02a212c07131207fdc (diff)
downloadvdr-cffde6ee0951c4ced016860901f942b674eed1c1.tar.gz
vdr-cffde6ee0951c4ced016860901f942b674eed1c1.tar.bz2
Fixed multiple occurrences of the same directory in the recordings list in case there are directories that only differ in non-alphanumeric characters
-rw-r--r--CONTRIBUTORS4
-rw-r--r--HISTORY8
-rw-r--r--config.h6
-rw-r--r--menu.c10
4 files changed, 18 insertions, 10 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 83940ded..dbb5756b 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1013,9 +1013,11 @@ Andreas Mair <amair.sob@googlemail.com>
for fixing the type of MBperMinute in cVideoDiskUsage::HasChanged()
for reporting a bug in sorting recordings in case two folders have the same name,
but one of them ends in an additional digit, as in "abc" and "abc2"
- for reporting multiple occurrences of the same directory in the recordings list ini
+ for reporting multiple occurrences of the same directory in the recordings list in
case there are directories that only differ in non-alphanumeric characters
for reporting a problem with reduced number of retries in Transfer Mode on SD-FF cards
+ for fixing multiple occurrences of the same directory in the recordings list in case
+ there are directories that only differ in non-alphanumeric characters
Olivier Jacques <jacquesolivier@hotmail.com>)
for translating OSD texts to the French language
diff --git a/HISTORY b/HISTORY
index d8a6da38..bde35ec2 100644
--- a/HISTORY
+++ b/HISTORY
@@ -7794,3 +7794,11 @@ Video Disk Recorder Revision History
- Changed cThread::SetIOPriority() from "best effort class" to "idle class" in order to
improve overall performance when an editing process is running (thanks to Jochen
Dolze).
+
+2013-04-27: Version 2.0.2
+
+- Fixed multiple occurrences of the same directory in the recordings list in case there
+ are directories that only differ in non-alphanumeric characters (was broken by
+ "Fixed selecting the last replayed recording in the Recordings menu in case there
+ are folders and plain recordings with names that differ only in non-alphanumeric
+ characters" in version 1.7.36).
diff --git a/config.h b/config.h
index 4150aa73..d99e2d17 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 2.76.1.1 2013/04/05 10:41:32 kls Exp $
+ * $Id: config.h 2.76.1.2 2013/04/27 10:18:08 kls Exp $
*/
#ifndef __CONFIG_H
@@ -22,8 +22,8 @@
// VDR's own version number:
-#define VDRVERSION "2.0.1"
-#define VDRVERSNUM 20001 // Version * 10000 + Major * 100 + Minor
+#define VDRVERSION "2.0.2"
+#define VDRVERSNUM 20002 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number:
diff --git a/menu.c b/menu.c
index 31d25d08..00e9d365 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 2.82 2013/03/18 09:11:48 kls Exp $
+ * $Id: menu.c 2.82.1.1 2013/04/27 10:15:16 kls Exp $
*/
#include "menu.h"
@@ -2302,14 +2302,12 @@ void cMenuRecordings::Set(bool Refresh)
}
else
delete Item;
- if (LastItem) {
+ if (LastItem || LastDir) {
if (CurrentRecording && strcmp(CurrentRecording, recording->FileName()) == 0)
- SetCurrent(LastItem);
+ SetCurrent(LastDir ? LastDir : LastItem);
}
- if (LastDir) {
+ if (LastDir)
LastDir->IncrementCounter(recording->IsNew());
- LastItem = LastDir;
- }
}
}
if (Refresh)