Installscript-keymacros.conf
Aus VDR Wiki
(Unterschied zwischen Versionen)
(→Beschreibung) |
|||
Zeile 11: | Zeile 11: | ||
">" für installation | ">" für installation | ||
− | "<" zurück | + | "<" zurück |
+ | |||
+ | Sollte in '''/var/log/plugins.log''' wie folgt aussehen: | ||
+ | |||
+ | ------------------------------------------------------------------------ | ||
+ | - epgsearch-0.0.7 | ||
+ | ------------------------------------------------------------------------ | ||
+ | +++ cmd : create symbolic link `epgsearch' to `epgsearch-0.0.7' | ||
+ | +++ msg : command(s) in keymacros.conf found... | ||
+ | +++ cmd : sed -i 's:^Green Schedule$:Green @epgsearch:' "${DISDIR}/keymacros.conf" | ||
+ | [...] | ||
+ | ------------------------------------------------------------------------ | ||
==keymacros.conf== | ==keymacros.conf== |
Version vom 26. Januar 2005, 21:51 Uhr
Beschreibung
Installiert(entpackt) man 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.
">" für installation "<" zurück
Sollte in /var/log/plugins.log wie folgt aussehen:
------------------------------------------------------------------------ - epgsearch-0.0.7 ------------------------------------------------------------------------ +++ cmd : create symbolic link `epgsearch' to `epgsearch-0.0.7' +++ msg : command(s) in keymacros.conf found... +++ cmd : sed -i 's:^Green Schedule$:Green @epgsearch:' "${DISDIR}/keymacros.conf" [...] ------------------------------------------------------------------------
keymacros.conf
# Description: commands for the keymacros.conf (See man vdr(5)) # # Format: <plugin>:<->:<cmd(s)> # ^ # > in # < out epgsearch:>:sed -i 's:^Green Schedule$:Green @epgsearch:' "${DISDIR}/keymacros.conf" epgsearch:<:sed -i 's:^Green @epgsearch$:Green Schedule:' "${DISDIR}/keymacros.conf" pilot:>:sed -i 's:^Red Recordings$:Red @pilot:' "${DISDIR}/keymacros.conf" pilot:<:sed -i 's:^Red @pilot$:Red Recordings:' "${DISDIR}/keymacros.conf" prefermenu:>:sed -i 's:^Yellow Setup$:Yellow @prefermenu:' "${DISDIR}/keymacros.conf" prefermenu:<:sed -i 's:^Yellow @prefermenu$:Yellow Setup:' "${DISDIR}/keymacros.conf" yaepg:>:sed -i 's:^Blue Timers$:Blue @yaepg:' "${DISDIR}/keymacros.conf" yaepg:<:sed -i 's:^Blue @yaepg$:Blue Timers:' "${DISDIR}/keymacros.conf"