diff options
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -29,8 +29,8 @@ void cStatusBlock::ChannelSwitch(const cDevice *Device, int ChannelNumber) cSetupBlock::LastChannel=cDevice::CurrentChannel(); return; //Switch in progress; } - - if (SetupBlock.DetectionMethod!=0) return; + + if (cSetupBlock::DetectionMethod!=0) return; #ifdef LOGGING dsyslog("plugin-block: cStatusBlock was informed about channel switch at device %d, channel no %d",Device->DeviceNumber(),ChannelNumber); @@ -59,7 +59,7 @@ void cStatusBlock::ChannelSwitch(const cDevice *Device, int ChannelNumber) #endif return; } - + if (Device->Replaying()) { #ifdef LOGGING @@ -81,7 +81,7 @@ void cStatusBlock::ChannelSwitch(const cDevice *Device, int ChannelNumber) const cEvent *present = sched->GetPresentEvent(); const cEvent *follow = sched->GetFollowingEvent(); if (present == NULL) return; - + if (!cControlBlock::IsRequested() && !EventsBlock.Acceptable(present->Title())) { isyslog("plugin-block: channel %d is not acceptable at present", ChannelNumber); @@ -89,3 +89,4 @@ void cStatusBlock::ChannelSwitch(const cDevice *Device, int ChannelNumber) } } } + |