1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

When checking whether a recording has already been made, recording names are now compared case insensitive

This commit is contained in:
Klaus Schmidinger 2021-06-20 10:03:28 +02:00
parent ac4da6e380
commit 545613e0e7
2 changed files with 5 additions and 3 deletions

View File

@ -9720,7 +9720,7 @@ Video Disk Recorder Revision History
- Removed unused declaration of cDvbTuner::SetFrontendType() (thanks to Helmut Binder). - Removed unused declaration of cDvbTuner::SetFrontendType() (thanks to Helmut Binder).
- Fixed handling incomplete multi-packet CAT (thanks to Helmut Binder). - Fixed handling incomplete multi-packet CAT (thanks to Helmut Binder).
2021-06-19: 2021-06-20:
- Fixed restarting PMT pids after starting a recording on the currently viewed channel - Fixed restarting PMT pids after starting a recording on the currently viewed channel
(with help from Helmut Binder). (with help from Helmut Binder).
@ -9729,3 +9729,5 @@ Video Disk Recorder Revision History
- Fixed a possible access to characters after the terminating zero of strings in - Fixed a possible access to characters after the terminating zero of strings in
cDoneRecordings::Contains(), in case there are fuzzy characters at the end of a cDoneRecordings::Contains(), in case there are fuzzy characters at the end of a
string. string.
- When checking whether a recording has already been made, recording names are now
compared case insensitive.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: recording.c 5.10 2021/06/19 15:34:38 kls Exp $ * $Id: recording.c 5.11 2021/06/20 10:03:28 kls Exp $
*/ */
#include "recording.h" #include "recording.h"
@ -3152,7 +3152,7 @@ bool cDoneRecordings::Contains(const char *Title) const
t = SkipFuzzyChars(t); t = SkipFuzzyChars(t);
if (!*s || !*t) if (!*s || !*t)
break; break;
if (*s != *t) if (toupper(uchar(*s)) != toupper(uchar(*t)))
break; break;
s++; s++;
t++; t++;