From 79fe54e476fcdb7a770bffe6d4754f246db289d3 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 7 Mar 2011 21:50:05 +0100 Subject: Dropped compatibility with VDR < 1.5.16 --- server/connection.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'server/connection.c') diff --git a/server/connection.c b/server/connection.c index 78a023a..2eba103 100644 --- a/server/connection.c +++ b/server/connection.c @@ -302,7 +302,6 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority) && UsedByLiveTV(device)) { // now we would have to switch away live tv...let's see if live tv // can be handled by another device -#if VDRVERSNUM >= 10516 cDevice::SetAvoidDevice(device); if (!Channels.SwitchTo(cDevice::CurrentChannel())) { if (StreamdevServerSetup.SuspendMode == smAlways) { @@ -314,22 +313,6 @@ cDevice *cServerConnection::GetDevice(const cChannel *Channel, int Priority) device = NULL; } } -#else - const cChannel *current = Channels.GetByNumber(cDevice::CurrentChannel()); - cDevice *newdev = current ? CheckDevice(current, 0, true, device) : NULL; - if (newdev) { - dsyslog("streamdev: GetDevice: Trying to move live TV to device %d", newdev->CardIndex()); - newdev->SwitchChannel(current, true); - } - else if (StreamdevServerSetup.SuspendMode == smAlways) { - Channels.SwitchTo(Channel->Number()); - Skins.QueueMessage(mtInfo, tr("Streaming active")); - } - else { - dsyslog("streamdev: GetDevice: Live TV not suspended"); - device = NULL; - } -#endif } if (!device) { -- cgit v1.2.3