Hi,
just noticed that key macros defined in keymacros.conf don't work anymore for plugins. All additional keys vanishes somehow, i.e. the followings macros have exactly the same behaviour:
User1 @epgsearch Yellow Ok User2 @epgsearch
I haven't tested this with vanilla VDR, but there were key macro code changes in 1.3.32, and the key macros containing multiple keys using only VDR's core features still work nicely.
BR, -- rofa
Rolf Ahrenberg wrote:
Hi,
just noticed that key macros defined in keymacros.conf don't work anymore for plugins. All additional keys vanishes somehow, i.e. the followings macros have exactly the same behaviour:
User1 @epgsearch Yellow Ok User2 @epgsearch
I haven't tested this with vanilla VDR, but there were key macro code changes in 1.3.32, and the key macros containing multiple keys using only VDR's core features still work nicely.
I thought I had tested this, even with additional keys after the plugin call.
Please test with plain vanilla VDR.
Klaus
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:
--- 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)) {
Klaus