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

The "Resume" button in the main menu is now only active if the respective recording actually exists

This commit is contained in:
Klaus Schmidinger 2013-03-18 09:19:42 +01:00
parent b6d407a212
commit b7f4536fe1
3 changed files with 7 additions and 1 deletions

View File

@ -2741,6 +2741,8 @@ Johann Friedrichs <johann.friedrichs@web.de>
for implementing scaling of SPU bitmaps for implementing scaling of SPU bitmaps
for fixing creating a new VPS timer with the SVDRP command NEWT for fixing creating a new VPS timer with the SVDRP command NEWT
for fixing loading the setup.conf file in case a parameter contains the '#' character for fixing loading the setup.conf file in case a parameter contains the '#' character
for reporting that the "Resume" button in the main menu was active even if the
respective recording did not exist
Timo Helkio <timolavi@mbnet.fi> Timo Helkio <timolavi@mbnet.fi>
for reporting a hangup when replaying a TS recording with subtitles activated for reporting a hangup when replaying a TS recording with subtitles activated

View File

@ -7765,3 +7765,5 @@ Video Disk Recorder Revision History
- Renamed the language file sr_SR.po to sr_RS.po (pointed out by Zoran Turalija). - Renamed the language file sr_SR.po to sr_RS.po (pointed out by Zoran Turalija).
- Fixed loading the setup.conf file in case a parameter contains the '#' character - Fixed loading the setup.conf file in case a parameter contains the '#' character
(thanks to Johann Friedrichs). (thanks to Johann Friedrichs).
- The "Resume" button in the main menu is now only active if the respective recording
actually exists (reported by Johann Friedrichs).

4
menu.c
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: menu.c 2.81 2013/03/04 14:11:47 kls Exp $ * $Id: menu.c 2.82 2013/03/18 09:11:48 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -4566,6 +4566,8 @@ const char *cReplayControl::NowReplaying(void)
const char *cReplayControl::LastReplayed(void) const char *cReplayControl::LastReplayed(void)
{ {
if (!Recordings.GetByName(fileName))
fileName = NULL;
return fileName; return fileName;
} }