Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Fix for hierarchical recordings menu



Am Freitag, 1. Februar 2002 16:12 schrieben Sie:

> The problem was that both directories started with the same sequence of
> characters ("Simpsons"). Here's a fix for this:
>
> --- menu.c      2002/01/27 15:50:50     1.146
> +++ menu.c      2002/02/01 15:08:44
> @@ -1553,7 +1553,7 @@
>       cMenuRecordingItem *LastItem = NULL;
>       char *LastItemText = NULL;
>       for (cRecording *recording = Recordings.First(); recording; recording
> = Recordings.Next(recording)) { -         if (!Base ||
> strstr(recording->Name(), Base) == recording->Name()) { +         if (!Base
> || (strstr(recording->Name(), Base) == recording->Name() &&
> recording->Name()[strlen(Base)] == '~')) { cMenuRecordingItem *Item = new
> cMenuRecordingItem(recording, level); if (*Item->Text() && (!LastItem ||
> strcmp(Item->Text(), LastItemText) != 0)) { Add(Item);
>
> Klaus

Hi Klaus,

I didn't expect to get a fix for it so fast, especially if I 
look back at the recent problems with the EPG.

It is OK now., and for that: 
I didn't expect anything else ;-))

Thanks for your support !!!
Bye Norbert



Home | Main Index | Thread Index