mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Fix statistics output a bit more.
This commit is contained in:
parent
57ea119d03
commit
e4f560c66e
10
device.c
10
device.c
@ -120,10 +120,12 @@ cString cSatipDevice::GetSatipStatus(void)
|
|||||||
info = cString::sprintf("%sCardIndex: %d HasLock: yes Strength: %d Quality: %d%s\n", *info, device->CardIndex(), device->SignalStrength(), device->SignalQuality(), live ? " Live: yes" : "");
|
info = cString::sprintf("%sCardIndex: %d HasLock: yes Strength: %d Quality: %d%s\n", *info, device->CardIndex(), device->SignalStrength(), device->SignalQuality(), live ? " Live: yes" : "");
|
||||||
else
|
else
|
||||||
info = cString::sprintf("%sCardIndex: %d HasLock: no\n", *info, device->CardIndex());
|
info = cString::sprintf("%sCardIndex: %d HasLock: no\n", *info, device->CardIndex());
|
||||||
if (channel && channel->Number() > 0 && device->Receiving())
|
if (channel) {
|
||||||
info = cString::sprintf("%sTransponder: %d Channel: %s\n", *info, channel->Transponder(), channel->Name());
|
if (channel->Number() > 0 && device->Receiving())
|
||||||
else
|
info = cString::sprintf("%sTransponder: %d Channel: %s\n", *info, channel->Transponder(), channel->Name());
|
||||||
info = cString::sprintf("%sTransponder: %d\n", *info, channel->Transponder());
|
else
|
||||||
|
info = cString::sprintf("%sTransponder: %d\n", *info, channel->Transponder());
|
||||||
|
}
|
||||||
if (timers)
|
if (timers)
|
||||||
info = cString::sprintf("%sRecording: %d timer%s\n", *info, timers, (timers > 1) ? "s" : "");
|
info = cString::sprintf("%sRecording: %d timer%s\n", *info, timers, (timers > 1) ? "s" : "");
|
||||||
info = cString::sprintf("%s\n", *info);
|
info = cString::sprintf("%s\n", *info);
|
||||||
|
Loading…
Reference in New Issue
Block a user