From fd60644895db6e3a8ec273eab65d91b3a5a3be7f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 25 Aug 2007 09:31:13 +0200 Subject: The SVDRP command LSTC can now list the channels with group separators if the option ':groups' is given --- CONTRIBUTORS | 2 ++ HISTORY | 2 ++ svdrp.c | 15 ++++++++++----- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 6264b314..375fdbfc 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -944,6 +944,8 @@ Andreas Mair for enabling fonts to be created with a width that overwrites the default width for suggesting to make cBitmap::SetXpm() checks whether the given Xpm pointer is not NULL + for making the SVDRP command LSTC list the channels with group separators if the + option ':groups' is given Olivier Jacques ) for translating OSD texts to the French language diff --git a/HISTORY b/HISTORY index 057b7ad2..1fd3a90a 100644 --- a/HISTORY +++ b/HISTORY @@ -5401,3 +5401,5 @@ Video Disk Recorder Revision History Becker). - VDR now uses the default configuration directory as defined in the CONFDIR varable in the Makefile (thanks to Thomas Schmidt). +- The SVDRP command LSTC can now list the channels with group separators if the + option ':groups' is given (thanks to Andreas Mair). diff --git a/svdrp.c b/svdrp.c index 3694ebb8..933375f4 100644 --- a/svdrp.c +++ b/svdrp.c @@ -10,7 +10,7 @@ * and interact with the Video Disk Recorder - or write a full featured * graphical interface that sits on top of an SVDRP connection. * - * $Id: svdrp.c 1.102 2007/06/23 13:14:59 kls Exp $ + * $Id: svdrp.c 1.103 2007/08/25 09:28:26 kls Exp $ */ #include "svdrp.h" @@ -216,10 +216,12 @@ const char *HelpPages[] = { "HITK [ ]\n" " Hit the given remote control key. Without option a list of all\n" " valid key names is given.", - "LSTC [ | ]\n" + "LSTC [ :groups | | ]\n" " List channels. Without option, all channels are listed. Otherwise\n" " only the given channel is listed. If a name is given, all channels\n" - " containing the given string as part of their name are listed.", + " containing the given string as part of their name are listed.\n" + " If ':groups' is given, all channels are listed including group\n" + " separators. The channel number of a group separator is always 0.", "LSTE [ ] [ now | next | at