From patchwork Wed Dec 19 12:52:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ingo Prochaska X-Patchwork-Id: 15958 Received: from localhost ([127.0.0.1] helo=www.linuxtv.org) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1TlJ8y-0001VB-Uz; Wed, 19 Dec 2012 13:53:04 +0100 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1TlJ8Z-0001Go-Uv for vdr@linuxtv.org; Wed, 19 Dec 2012 13:53:03 +0100 X-tubIT-Incoming-IP: 212.227.15.19 Received: from mout.gmx.net ([212.227.15.19]) by mail.tu-berlin.de (exim-4.75/mailfrontend-2) with esmtp for id 1TlJ8Z-00079r-I3; Wed, 19 Dec 2012 13:52:39 +0100 Received: from mailout-de.gmx.net ([10.1.76.34]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MRQfu-1TejaZ1KTQ-00Siz8 for ; Wed, 19 Dec 2012 13:52:39 +0100 Received: (qmail invoked by alias); 19 Dec 2012 12:52:39 -0000 Received: from p4FD85723.dip0.t-ipconnect.de (EHLO [192.168.7.102]) [79.216.87.35] by mail.gmx.net (mp034) with SMTP; 19 Dec 2012 13:52:39 +0100 X-Authenticated: #22218522 X-Provags-ID: V01U2FsdGVkX1+V5DE1oo6VcI1KUY4EpWIdtH81xD/eEI79x9law0 EMk7xxl/qKlAvK Message-ID: <50D1B898.8010104@gmx.de> Date: Wed, 19 Dec 2012 13:52:40 +0100 From: Ingo Prochaska User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: VDR Mailing List References: <50D180BD.4060808@gmx.de> <1TlG4Y-1vMsIC0@fwd08.aul.t-online.de> In-Reply-To: <1TlG4Y-1vMsIC0@fwd08.aul.t-online.de> X-Y-GMX-Trusted: 0 X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.12.19.124527 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_00_01 0.05, HTML_00_10 0.05, MSGID_ADDED_BY_MTA 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __HAS_FROM 0, __HAS_MSGID 0, __INT_PROD_TV 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MOZILLA_USER_AGENT 0, __PHISH_SPEAR_STRUCTURE_1 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' X-LSpam-Score: -1.1 (-) X-LSpam-Report: No, score=-1.1 required=5.0 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RDNS_NONE=0.793 autolearn=no Subject: Re: [vdr] Reserve device for Live-Tv X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: vdr-bounces@linuxtv.org Errors-To: vdr-bounces@linuxtv.org Am 19.12.2012 10:36, schrieb EikeSauer@t-online.de: > > clue how to accomblish this... > There's a define LIVEPRIORITY somewhere in the code. If you would > set it to MAXPRIORITY and recompile, you might get what you need. > Recorders couldn't claim the device used for live viewing becausethey > would have lower priority. Disclaimer: I didn't try it. > > Ciao, > Eike > After a first test: it works. I have three devices - I started two live-recordings and generated a timer within the next 3 minutes watching a fourth transponder. When the timer should kick in nothing happens. So far - so great. But really nothing happens: no channelswitch - but also no conflict warning or any info about not serving the timer. So this might be the first step in direction to solve this (social ;) ) problem. Perhaps a LIVEPRIORITY of 98 makes sense here, so that you can configure timers that are more important then viewing live TV. Klaus, I understand that you do not want to introduce more features before 2.0 and I understand that this is a very marginal issue. But if you have an idea, how to get vdr to spill a message about this situation, I would be very glad if you could help us people with too many timers out. Regards, Ingo #define TRANSFERPRIORITY (LIVEPRIORITY - 1) // priority used for actual local Transfer Mode #define IDLEPRIORITY (MINPRIORITY - 1) // priority of an idle device #define MAXLIFETIME 99 diff --git a/config.h b/config.h index 65e85bc..5d32d11 100644 --- a/config.h +++ b/config.h @@ -45,7 +45,9 @@ #define MAXPRIORITY 99 #define MINPRIORITY (-MAXPRIORITY) -#define LIVEPRIORITY 0 // priority used when selecting a device for live viewing +//try to rserve 1 Device for live-TV exclusivly +#define LIVEPRIORITY MAXPRIORITY // priority used when selecting a device for live viewing +//#define LIVEPRIORITY 0 // priority used when selecting a device for live viewing