mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed multiple entries of the same subdirectory in the "Recordings" menu
This commit is contained in:
parent
204f4a322e
commit
0de4b0b043
@ -884,6 +884,8 @@ Christian Jacobsen <christian.jacobsen@stageholding.de>
|
||||
for reporting a problem in case a station defines all 32 audio PIDs
|
||||
for suggestions and experiments regarding the buffer reserve in cTransfer
|
||||
for reporting a problem with 'summary.vdr' files with more than two empty lines
|
||||
for reporting a problem with multiple entries of the same subdirectory in the
|
||||
"Recordings" menu
|
||||
|
||||
Andreas Mair <Andreas.Mair@linogate.com>
|
||||
for reporting a short display of the main menu if a plugin displays its own OSD and
|
||||
|
4
HISTORY
4
HISTORY
@ -4271,7 +4271,7 @@ Video Disk Recorder Revision History
|
||||
- Separated the 'install' target into several individual targets; renamed the
|
||||
'plugins-install' target to 'install-plugins' (thanks to Helmut Auer).
|
||||
|
||||
2006-02-04: Version 1.3.42
|
||||
2006-02-05: Version 1.3.42
|
||||
|
||||
- Removed leftover 'needsBufferReserve' variable from cTransfer (thanks to Marco
|
||||
Schlüßler).
|
||||
@ -4303,3 +4303,5 @@ Video Disk Recorder Revision History
|
||||
- The 'runvdr' script no longer uses the $VDRUSR environment variable to set
|
||||
the user id under which 'vdr' shall run. Just add the '-u username' option
|
||||
when you call 'runvdr'.
|
||||
- Fixed multiple entries of the same subdirectory in the "Recordings" menu
|
||||
(reported by Christian Jacobsen).
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: recording.c 1.133 2006/01/20 17:18:59 kls Exp $
|
||||
* $Id: recording.c 1.134 2006/02/05 12:34:08 kls Exp $
|
||||
*/
|
||||
|
||||
#include "recording.h"
|
||||
@ -604,6 +604,7 @@ char *cRecording::SortName(void) const
|
||||
{
|
||||
if (!sortBuffer) {
|
||||
char *s = StripEpisodeName(strdup(FileName() + strlen(VideoDirectory) + 1));
|
||||
strreplace(s, '/', 'a'); // some locales ignore '/' when sorting
|
||||
int l = strxfrm(NULL, s, 0) + 1;
|
||||
sortBuffer = MALLOC(char, l);
|
||||
strxfrm(sortBuffer, s, l);
|
||||
|
Loading…
Reference in New Issue
Block a user