From 467829af3207f7b82e0bdf1664c639e4a282d66c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 22 Apr 2017 15:02:56 +0200 Subject: The SVDRP command LSTC can now list the channels with channel ids; channel number 0 lists the data of the current channel --- svdrp.c | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) (limited to 'svdrp.c') diff --git a/svdrp.c b/svdrp.c index 3d6d0f84..993150c7 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 4.16 2017/04/04 11:09:14 kls Exp $ + * $Id: svdrp.c 4.17 2017/04/22 11:57:31 kls Exp $ */ #include "svdrp.h" @@ -754,12 +754,14 @@ const char *HelpPages[] = { " valid key names is given. If more than one key is given, they are\n" " entered into the remote control queue in the given sequence. There\n" " can be up to 31 keys.", - "LSTC [ :groups | | | ]\n" + "LSTC [ :ids ] [ :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.\n" " If ':groups' is given, all channels are listed including group\n" - " separators. The channel number of a group separator is always 0.", + " separators. The channel number of a group separator is always 0.\n" + " With ':ids' the channel ids are listed following the channel numbers.\n" + " The special number 0 can be given to list the current channel.", "LSTE [ ] [ now | next | at