Installscript-keymacros.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(keymacros.conf)
K (keymacros.conf)
Zeile 37: Zeile 37:
 
's:^\(Green    \).*:\1@epgsearch:'
 
's:^\(Green    \).*:\1@epgsearch:'
 
's:^\(Green    \).*:\1Schedule:'
 
's:^\(Green    \).*:\1Schedule:'
 
[loadepg]
 
's:^\(User9    \).*:\1@loadepg:'
 
's:^\(User9    \).*:\1User9:'
 
  
 
[pilot]
 
[pilot]

Version vom 5. Oktober 2005, 04:15 Uhr

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

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

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

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

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

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