summaryrefslogtreecommitdiff
path: root/PLUGINS/src/sky/sky.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-15 15:07:27 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-15 15:07:27 +0100
commitc817c341cead8ddbb8f544d6dd5e4dbe4050af19 (patch)
tree0dfc8ae130058ba5e6211d15aec569857f46da56 /PLUGINS/src/sky/sky.c
parent0a3f7e7ca23078eab860032350d61ceb2a8ab50c (diff)
downloadvdr-c817c341cead8ddbb8f544d6dd5e4dbe4050af19.tar.gz
vdr-c817c341cead8ddbb8f544d6dd5e4dbe4050af19.tar.bz2
Fixed handling receivers in the 'sky' plugin
Diffstat (limited to 'PLUGINS/src/sky/sky.c')
-rw-r--r--PLUGINS/src/sky/sky.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/PLUGINS/src/sky/sky.c b/PLUGINS/src/sky/sky.c
index dbadf1dc..6196eefc 100644
--- a/PLUGINS/src/sky/sky.c
+++ b/PLUGINS/src/sky/sky.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: sky.c 1.5 2004/02/15 12:40:22 kls Exp $
+ * $Id: sky.c 1.6 2004/02/15 14:59:46 kls Exp $
*/
#include <sys/socket.h>
@@ -199,7 +199,7 @@ bool cDigiboxDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool
cSkyChannel *SkyChannel = SkyChannels.GetSkyChannel(Channel);
if (SkyChannel) {
- if (Receiving()) {
+ if (Receiving(true)) {
if (digiboxChannelNumber == SkyChannel->digiboxChannelNumber) {
needsDetachReceivers = false;
result = true;
@@ -217,7 +217,7 @@ bool cDigiboxDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool
bool cDigiboxDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
{
- if (fd_lirc >= 0 && !Receiving()) { // if we are receiving the channel is already set!
+ if (fd_lirc >= 0 && !Receiving(true)) { // if we are receiving the channel is already set!
cSkyChannel *SkyChannel = SkyChannels.GetSkyChannel(Channel);
if (SkyChannel) {
digiboxChannelNumber = SkyChannel->digiboxChannelNumber;