From 15d08ffb09de612ae1eb53b2aeca2f906f7076a6 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Sun, 4 Mar 2012 09:44:19 +0100 Subject: support for vdr 1.7.25 --- conflictcheck.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'conflictcheck.h') diff --git a/conflictcheck.h b/conflictcheck.h index fcc6dcb..7e6fb7a 100644 --- a/conflictcheck.h +++ b/conflictcheck.h @@ -163,12 +163,20 @@ class cConflictCheckDevice result = true; #ifdef DO_REC_AND_PLAY_ON_PRIMARY_DEVICE else +#if APIVERSNUM < 10725 result = Priority >= Setup.PrimaryLimit; +#else + result = Priority >= 0; +#endif #endif #endif } else +#if APIVERSNUM < 10725 result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit; +#else + result = !IsPrimaryDevice() || Priority >= 0; +#endif } else needsDetachReceivers = true; -- cgit v1.2.3