summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-05-01 13:06:32 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-05-01 13:06:32 +0200
commit84b8ea8395c77a66418c32dabf159abca75c09d5 (patch)
tree6425cb79248ed81b8a5c1009d9a98491a25b9e0a /vdr.c
parent9491948f04d20f86133dbe8cf8dbd6997aeb5b62 (diff)
downloadvdr-84b8ea8395c77a66418c32dabf159abca75c09d5.tar.gz
vdr-84b8ea8395c77a66418c32dabf159abca75c09d5.tar.bz2
Log messages about switching channels now include the channel ID
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 925f35fb..4fc2bf1e 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 4.12 2017/04/03 12:35:37 kls Exp $
+ * $Id: vdr.c 4.13 2017/05/01 13:00:51 kls Exp $
*/
#include <getopt.h>
@@ -1151,7 +1151,7 @@ int main(int argc, char *argv[])
if (!Device->IsTunedToTransponder(Timer->Channel())) {
if (Device == cDevice::ActualDevice() && !Device->IsPrimaryDevice())
cDevice::PrimaryDevice()->StopReplay(); // stop transfer mode
- dsyslog("switching device %d to channel %d (%s)", Device->DeviceNumber() + 1, Timer->Channel()->Number(), Timer->Channel()->Name());
+ dsyslog("switching device %d to channel %d %s (%s)", Device->DeviceNumber() + 1, Timer->Channel()->Number(), *Timer->Channel()->GetChannelID().ToString(), Timer->Channel()->Name());
if (Device->SwitchChannel(Timer->Channel(), false))
Device->SetOccupied(TIMERDEVICETIMEOUT);
}