Installscript-keymacros.conf

Aus VDR Wiki
Wechseln zu: Navigation, Suche

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 
# 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"