From patchwork Sat Sep 17 11:31:13 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Klaus Schmidinger X-Patchwork-Id: 12031 Received: from tiger.cadsoft.de ([217.7.101.210]) by www.linuxtv.org with esmtp (Exim 4.34) id 1EGaub-0005tJ-B5 for vdr@linuxtv.org; Sat, 17 Sep 2005 13:31:17 +0200 Received: from raven.cadsoft.de (raven.cadsoft.de [217.7.101.211]) by tiger.cadsoft.de (8.12.7/8.12.7) with ESMTP id j8HBVGrc005531 for ; Sat, 17 Sep 2005 13:31:16 +0200 Received: from [192.168.100.10] (hawk.cadsoft.de [192.168.100.10]) by raven.cadsoft.de (8.13.3/8.13.3) with ESMTP id j8HBVFQV010200 for ; Sat, 17 Sep 2005 13:31:16 +0200 Message-ID: <432BFE81.7070203@cadsoft.de> Date: Sat, 17 Sep 2005 13:31:13 +0200 From: Klaus Schmidinger Organization: CadSoft Computer GmbH User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en MIME-Version: 1.0 To: vdr@linuxtv.org Subject: Re: [vdr] Bug: vdr-1.3.32 & @plugin key macros References: <4325AE17.7020000@cadsoft.de> In-Reply-To: X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0 (tiger.cadsoft.de [217.7.101.210]); Sat, 17 Sep 2005 13:31:16 +0200 (CEST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (raven.cadsoft.de [192.168.1.1]); Sat, 17 Sep 2005 13:31:16 +0200 (CEST) X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2005 11:31:17 -0000 Status: O X-Status: X-Keywords: X-UID: 5037 Rolf Ahrenberg wrote: > On Mon, 12 Sep 2005, Klaus Schmidinger wrote: > >> I thought I had tested this, even with additional keys after >> the plugin call. >> Please test with plain vanilla VDR. > > > Ok. I did a quick test with vanilla 1.3.32 + femon + epgsearch > and the problem is still there. This should fix it: Klaus --- keys.c 2005/09/03 11:28:34 1.8 +++ keys.c 2005/09/17 11:27:40 @@ -208,7 +208,7 @@ esyslog("ERROR: @plugin can't be first in macro"); return false; } - macro[n++] = k_Plugin; + macro[n] = k_Plugin; if (n < MAXKEYSINMACRO) { plugin = strdup(p + 1); if (!cPluginManager::GetPlugin(plugin)) {