[vdr] Playlists?
C.Y.M
syphir at syphir.sytes.net
Thu Jul 28 00:11:05 CEST 2005
Hardy Flor wrote:
> Hallo Aron,
>
>
>>is there any way to define playlists for the video recordings?
>
>
> with the playlist-plugin
> http://www.fast-info.de/vdr/playlist/index.htm
>
If you want to use this plugin with vdr-1.3.27, you will need this too.. (BTW,
the #ifdefs are not exactly right but it works). :)
Regards,
C.
-------------- next part --------------
--- playlist/dataplaylist.c.orig 2005-07-27 09:45:35.000000000 -0700
+++ playlist/dataplaylist.c 2005-07-27 09:47:29.000000000 -0700
@@ -145,7 +145,7 @@
char *temp = strrchr(title, '\t');
if (temp)
*temp = 0;
- summary = recording->Summary() ? strdup(recording->Summary()) : NULL;
+ summary = recording->Info()->Description() ? strdup(recording->Info()->Description()) : NULL;
return true;
}
isdel = true;
--- playlist/menuplaylist.c.orig 2005-07-27 09:50:50.000000000 -0700
+++ playlist/menuplaylist.c 2005-07-27 09:55:06.000000000 -0700
@@ -154,7 +154,7 @@
else
{
cRecording *recording = GetRecording(ri);
- SetHelp(singleselect ? tr("Select") : tr("Add"), singleselect ? NULL : ri->IsMark() ? tr("UnMark") : tr("Mark"), deleterecords.u ? tr("Delete") : NULL, (recording && recording->Summary() && *recording->Summary()) ? tr("Summary") : NULL);
+ SetHelp(singleselect ? tr("Select") : tr("Add"), singleselect ? NULL : ri->IsMark() ? tr("UnMark") : tr("Mark"), deleterecords.u ? tr("Delete") : NULL, (recording && recording->Info()->Description() && *recording->Info()->Description()) ? tr("Info") : NULL);
}
} else
{
@@ -256,9 +256,9 @@
if (ri && !ri->IsDirectory())
{
cRecording *recording = GetRecording(ri);
- if (recording && recording->Summary() && *recording->Summary())
+ if (recording && recording->Info()->Description() && *recording->Info()->Description())
#if VDRVERSNUM >= 10307
- return AddSubMenu(new cMenuText(tr("Summary"), recording->Summary()));
+ return AddSubMenu(new cMenuText(tr("Info"), recording->Info()->Description()));
#else
return AddSubMenu(new cMenuItemText(tr("Summary"), recording->Summary()));
#endif
@@ -514,8 +514,8 @@
}
#endif
- char *buffer = NULL;
- eOptions display = (Current() >= 0) && (Current() < MAXOptionLines) ? displayoption[Current()] : Option_max;
+// char *buffer = NULL;
+// eOptions display = (Current() >= 0) && (Current() < MAXOptionLines) ? displayoption[Current()] : Option_max;
/* if (display < Option_max && data.OptionInherited(display))
asprintf(&buffer, "%s %s", tr("OptionPL$Effective setting is:"), NoYesDefault[data.Option(display)]);
if (buffer)
More information about the vdr
mailing list