diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-01 13:06:32 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-01 13:06:32 +0200 |
commit | 84b8ea8395c77a66418c32dabf159abca75c09d5 (patch) | |
tree | 6425cb79248ed81b8a5c1009d9a98491a25b9e0a /device.c | |
parent | 9491948f04d20f86133dbe8cf8dbd6997aeb5b62 (diff) | |
download | vdr-84b8ea8395c77a66418c32dabf159abca75c09d5.tar.gz vdr-84b8ea8395c77a66418c32dabf159abca75c09d5.tar.bz2 |
Log messages about switching channels now include the channel ID
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 4.16 2017/05/01 09:24:49 kls Exp $ + * $Id: device.c 4.17 2017/05/01 13:00:57 kls Exp $ */ #include "device.h" @@ -782,7 +782,7 @@ bool cDevice::MaySwitchTransponder(const cChannel *Channel) const bool cDevice::SwitchChannel(const cChannel *Channel, bool LiveView) { if (LiveView) { - isyslog("switching to channel %d (%s)", Channel->Number(), Channel->Name()); + isyslog("switching to channel %d %s (%s)", Channel->Number(), *Channel->GetChannelID().ToString(), Channel->Name()); cControl::Shutdown(); // prevents old channel from being shown too long if GetDevice() takes longer } for (int i = 3; i--;) { |