Installscript-keymacros.conf

Aus VDR Wiki
Wechseln zu: Navigation, Suche

Beschreibung

Installiert(entpackt) man zbs das epgsearch-plugin ueber den Plugins-Manager, so wird in der keymacros.conf, die Zeile:

Green     Schedule

durch:

Green     @epgsearch

ersetzt, das selbe Rückwärts, sprich bei einer "deinstallation" wird der Eintrag wieder hergestellt.

[epgsearch]
	's:^\(Green     \).*:\1@epgsearch:'
	's:^\(Green     \).*:\1Schedule:'

Sollte in /var/log/vdr/plugins.log wie folgt aussehen:

------------------------------------------------------------------------
- epgsearch-0.9.4 Mon Jun 27 14:31:42 2005
------------------------------------------------------------------------
+++ cmd : create symbolic link `epgsearch' to `epgsearch-0.9.4'
+++ msg : command(s) in keymacros.conf found...
+++ cmd : sed -i 	's:^\(Green     \).*:\1@epgsearch:' ../keymacros.conf
          [...]
------------------------------------------------------------------------

keymacros.conf

# Description: commands for the keymacros.conf (See man vdr(5))
#
# Format: ^[plugin]
#			in
#			out

[epgsearch]
	's:^\(Green     \).*:\1@epgsearch:'
	's:^\(Green     \).*:\1Schedule:'


[loadepg]
	's:^\(User9     \).*:\1@loadepg:'
	's:^\(User9     \).*:\1User9:'


[pilot]
	's:^\(Red       \).*:\1@pilot:'
	's:^\(Red       \).*:\1Recordings:'


[prefermenu]
	's:^\(Yellow    \).*:\1@prefermenu:'
	's:^\(Yellow    \).*:\1Setup:'


[yaepg]
	's:^\(Blue      \).*:\1@yaepg:'
	's:^\(Blue      \).*:\1Timers:'