Installscript-keymacros.conf
Aus VDR Wiki
Version vom 7. März 2005, 11:50 Uhr von 213.6.77.38 (Diskussion)
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/vdr/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" loadepg:>:sed -i 's:^User9 0$:User9 @loadepg:' "${DISDIR}/keymacros.conf" loadepg:<:sed -i 's:^User9 @loadepg$:User9 0:' "${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"