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

Fixed opening recording folders in case the last replayed recording no longer exists

This commit is contained in:
Klaus Schmidinger 2005-10-01 10:11:33 +02:00
parent ecc07e33f3
commit 8f6bfd1ae7
3 changed files with 9 additions and 3 deletions

View File

@ -1282,6 +1282,8 @@ Udo Richter <udo_richter@gmx.de>
for reporting a problem with cRemux in a single thread for reporting a problem with cRemux in a single thread
for adding 'Service' functions to the plugin interface for adding 'Service' functions to the plugin interface
for reporting an unused MAINMENUENTRY in svdrpdemo.c for reporting an unused MAINMENUENTRY in svdrpdemo.c
for reporting a bug in opening recording folders in case the last replayed recording
no longer exists
Sven Kreiensen <svenk@kammer.uni-hannover.de> Sven Kreiensen <svenk@kammer.uni-hannover.de>
for his help in keeping 'channels.conf.terr' up to date for his help in keeping 'channels.conf.terr' up to date

View File

@ -3850,7 +3850,9 @@ Video Disk Recorder Revision History
Alexander Rieger). Alexander Rieger).
- Made the function ExchangeChars() public (suggested by Lucian Muresan). - Made the function ExchangeChars() public (suggested by Lucian Muresan).
2005-09-26: Version 1.3.34 2005-10-01: Version 1.3.34
- Fixed a leftover 'summary.vdr' in vdr.5 (thanks to Peter Bieringer for reporting - Fixed a leftover 'summary.vdr' in vdr.5 (thanks to Peter Bieringer for reporting
this one). this one).
- Fixed opening recording folders in case the last replayed recording no longer
exists (reported by Udo Richter).

6
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 1.362 2005/09/25 13:37:21 kls Exp $ * $Id: menu.c 1.363 2005/10/01 10:09:35 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -1513,6 +1513,7 @@ cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus)
SetCurrent(First()); SetCurrent(First());
else if (OpenSubMenus && cReplayControl::LastReplayed() && Open(true)) else if (OpenSubMenus && cReplayControl::LastReplayed() && Open(true))
return; return;
Display();
SetHelpKeys(); SetHelpKeys();
} }
@ -1583,7 +1584,8 @@ void cMenuRecordings::Set(bool Refresh)
} }
} }
free(LastItemText); free(LastItemText);
Display(); if (Refresh)
Display();
} }
cRecording *cMenuRecordings::GetRecording(cMenuRecordingItem *Item) cRecording *cMenuRecordings::GetRecording(cMenuRecordingItem *Item)