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

EPG events from epg.data or SVDRP's PUTE command now have their Title set to "No Title" if none was set

This commit is contained in:
Klaus Schmidinger 2006-01-27 13:42:10 +01:00
parent 48c8da8d15
commit 2f9af1b549
3 changed files with 12 additions and 5 deletions

View File

@ -4227,3 +4227,8 @@ Video Disk Recorder Revision History
- Updated the Spanish OSD texts (thanks to Jesus Bravo Alvarez). - Updated the Spanish OSD texts (thanks to Jesus Bravo Alvarez).
- Fixed handling the '0' key for switching between the last two channels (thanks - Fixed handling the '0' key for switching between the last two channels (thanks
to Thomas Bergwinkl). to Thomas Bergwinkl).
2006-01-27: Version 1.3.41
- EPG events from epg.data or SVDRP's PUTE command now have their Title set to
"No Title" if none was set.

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: config.h 1.241 2006/01/15 16:01:48 kls Exp $ * $Id: config.h 1.242 2006/01/27 13:27:41 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -19,8 +19,8 @@
#include "i18n.h" #include "i18n.h"
#include "tools.h" #include "tools.h"
#define VDRVERSION "1.3.40" #define VDRVERSION "1.3.41"
#define VDRVERSNUM 10340 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 10341 // Version * 10000 + Major * 100 + Minor
#define MAXPRIORITY 99 #define MAXPRIORITY 99
#define MAXLIFETIME 99 #define MAXLIFETIME 99

6
epg.c
View File

@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by * Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
* *
* $Id: epg.c 1.51 2006/01/20 14:09:48 kls Exp $ * $Id: epg.c 1.52 2006/01/27 13:42:10 kls Exp $
*/ */
#include "epg.h" #include "epg.h"
@ -318,7 +318,9 @@ bool cEvent::Read(FILE *f, cSchedule *Schedule)
} }
} }
break; break;
case 'e': Event = NULL; case 'e': if (!Event->Title())
Event->SetTitle(tr("No title"));
Event = NULL;
break; break;
case 'c': // to keep things simple we react on 'c' here case 'c': // to keep things simple we react on 'c' here
return true; return true;