diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 580ec89b..32c0ab8f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3390,6 +3390,7 @@ Dietmar Spingler for suggesting to cache the channel/CAM relations in the file 'cam.data' for suggesting to log signal statistics whenever the tuner of a cDvbDevice acquires a lock, and DVB API 5 signal statistics are available + for suggesting to optionally list the channels with channel ids in the SVDRP command LSTC Stefan Schallenberg for adding the functions IndexOf(), InsertUnique(), AppendUnique() and RemoveElement() diff --git a/HISTORY b/HISTORY index ee5f3ff9..11c75fc0 100644 --- a/HISTORY +++ b/HISTORY @@ -8925,7 +8925,7 @@ Video Disk Recorder Revision History - Now stopping any ongoing recordings before stopping the plugins, to avoid a crash when stopping VDR while recording. -2017-04-20: Version 2.3.4 +2017-04-22: Version 2.3.4 - The functionality of HandleRemoteModifications(), which synchronizes changes to timers between peer VDR machines, has been moved to timers.[ch] and renamed to @@ -8985,3 +8985,7 @@ Video Disk Recorder Revision History - Fixed editing a remote timer immediately after it has been created. - Fixed handling the uncorrected block counter for DVB API 3 devices when calculating signal quality. +- The SVDRP command LSTC can now list the channels with channel ids if the option + ':ids' is given (suggested by Dietmar Spingler). +- If 0 is given as the channel number in the SVDRP command LSTC, the data of the + current channel is listed. 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