Installscript-keymacros.conf
Aus VDR Wiki
(Unterschied zwischen Versionen)
(→keymacros.conf: M) |
|||
Zeile 1: | Zeile 1: | ||
==Beschreibung== | ==Beschreibung== | ||
− | Installiert(entpackt) man das [[epgsearch-plugin]] ueber den Plugins-Manager, so wird in der [[keymacros.conf]], die Zeile: | + | Installiert(entpackt) man zbs das [[epgsearch-plugin]] ueber den Plugins-Manager, so wird in der [[keymacros.conf]], die Zeile: |
Green Schedule | Green Schedule | ||
Zeile 10: | Zeile 10: | ||
ersetzt, das selbe Rückwärts, sprich bei einer "deinstallation" wird der Eintrag wieder hergestellt. | 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: | Sollte in '''/var/log/vdr/plugins.log''' wie folgt aussehen: | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
− | - epgsearch-0. | + | - epgsearch-0.9.4 Mon Jun 27 14:31:42 2005 |
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
− | +++ cmd : create symbolic link `epgsearch' to `epgsearch-0. | + | +++ cmd : create symbolic link `epgsearch' to `epgsearch-0.9.4' |
+++ msg : command(s) in keymacros.conf found... | +++ msg : command(s) in keymacros.conf found... | ||
− | +++ cmd : sed -i 's:^Green | + | +++ cmd : sed -i 's:^\(Green \).*:\1@epgsearch:' ../keymacros.conf |
[...] | [...] | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
Zeile 28: | Zeile 29: | ||
# Description: commands for the keymacros.conf (See man vdr(5)) | # Description: commands for the keymacros.conf (See man vdr(5)) | ||
# | # | ||
− | # Format: | + | # Format: ^[plugin] |
− | + | # in | |
− | # | + | # out |
− | # | + | |
− | epgsearch | + | [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:' | ||
</pre> | </pre> | ||
[[Kategorie:Installscript]] | [[Kategorie:Installscript]] |
Version vom 27. Juni 2005, 13:51 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
# 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:'