Commands.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Hintergrundprozess)
Zeile 1: Zeile 1:
comment5, http://forums.thedailywtf.com/members/Alltel-Free-Ringtones.aspx Alltel Free Ringtones, ecmrjw, http://forums.thedailywtf.com/members/Absolutely-Free-Polyphonic-Ringtones.aspx Absolutely Free Polyphonic Ringtones,  %-(, http://forums.thedailywtf.com/members/24-Ringtones.aspx 24 Ringtones,  8445, http://forums.thedailywtf.com/members/Anime-Ringtones.aspx Anime Ringtones,  8DDD, http://forums.thedailywtf.com/members/24-Ctu-Ringtones.aspx 24 Ctu Ringtones,  >:PPP, http://forums.thedailywtf.com/members/Apple-I_2D00_phone-Ringtones.aspx Apple I-phone Ringtones,  528195, http://forums.thedailywtf.com/members/2003-Cobra-Mustang-Ringtones.aspx 2003 Cobra Mustang Ringtones,  brgrl, http://forums.thedailywtf.com/members/Alltel-Motorola-Phone-Ringtones.aspx Alltel Motorola Phone Ringtones,  6925, http://forums.thedailywtf.com/members/Animal-Sound-Ringtones.aspx Animal Sound Ringtones,  829, http://forums.thedailywtf.com/members/Absolutely-Free-Nokia-Ringtones.aspx Absolutely Free Nokia Ringtones,  wvee, http://forums.thedailywtf.com/members/3g-Free-Ringtones.aspx 3g Free Ringtones,  rnazq, http://forums.thedailywtf.com/members/Adam-Lambert-Ringtones.aspx Adam Lambert Ringtones,  65387, http://forums.thedailywtf.com/members/Alltel-Kyocera-Ringtones.aspx Alltel Kyocera Ringtones,  8271, http://forums.thedailywtf.com/members/Andre-Nickatina-Ringtones.aspx Andre Nickatina Ringtones,  654288, http://forums.thedailywtf.com/members/Alltell-Ringtones.aspx Alltell Ringtones,  355525, http://forums.thedailywtf.com/members/Absolutly-Free-Ringtones.aspx Absolutly Free Ringtones,  8))), http://forums.thedailywtf.com/members/50-Cent-Ringtones.aspx 50 Cent Ringtones,  971916, http://forums.thedailywtf.com/members/Airwolf-Ringtones.aspx Airwolf Ringtones,  >:-]]], http://forums.thedailywtf.com/members/Aqua-Ringtones.aspx Aqua Ringtones,  >:-PPP, http://forums.thedailywtf.com/members/Absolutely-Free-Motorola-Ringtones.aspx Absolutely Free Motorola Ringtones,  001345,
+
==Beschreibung==
 +
In der '''commands.conf''' können Befehle angelegt werden, die über das Menü im OSD des VDR erreicht und gestartet werden können.
  
comment4, http://www.youtube.com/ringtonestut Verizon Ringtones,  wzsr,
+
Diese Datei befindet sich in '''[[Struktur|$VDRCONFIG]]'''.
  
comment3, http://forums.thedailywtf.com/members/Cingular-Phone-Free-Ringtones.aspx Cingular Phone Free Ringtones,  gpcow, http://forums.thedailywtf.com/members/Christian-Music-Ringtones.aspx Christian Music Ringtones,  eia, http://forums.thedailywtf.com/members/Cellular-One-Ringtones.aspx Cellular One Ringtones,  8]]], http://forums.thedailywtf.com/members/Compose-Motorola-Ringtones.aspx Compose Motorola Ringtones,  gbvakh, http://forums.thedailywtf.com/members/Cell-Ringtones.aspx Cell Ringtones,  dywmt, http://forums.thedailywtf.com/members/Composer-Christmas-Ringtones.aspx Composer Christmas Ringtones,  mitbl, http://forums.thedailywtf.com/members/Celine-Dion-Ringtones.aspx Celine Dion Ringtones, oqk, http://forums.thedailywtf.com/members/Completely-Free-Verizon-Ringtones.aspx Completely Free Verizon Ringtones, 0797, http://forums.thedailywtf.com/members/Coldplay-Ringtones.aspx Coldplay Ringtones,  xngfe, http://forums.thedailywtf.com/members/Chicken-Ringtones.aspx Chicken Ringtones,  527532, http://forums.thedailywtf.com/members/Cellular-South-Ringtones.aspx Cellular South Ringtones,  111817, http://forums.thedailywtf.com/members/Ciara-Ringtones.aspx Ciara Ringtones,  7975, http://forums.thedailywtf.com/members/Cityrail-Ringtones.aspx Cityrail Ringtones,  731334, http://forums.thedailywtf.com/members/Colton-Ford-Ringtones.aspx Colton Ford Ringtones,  70796, http://forums.thedailywtf.com/members/Comedy-Ringtones.aspx Comedy Ringtones, yccjqn, http://forums.thedailywtf.com/members/Christmas-Polyphonic-Ringtones.aspx Christmas Polyphonic Ringtones,  51761, http://forums.thedailywtf.com/members/Centennial-Wireless-Ringtones.aspx Centennial Wireless Ringtones, 279, http://forums.thedailywtf.com/members/Cingualr-Ringtones.aspx Cingualr Ringtones, 24427, http://forums.thedailywtf.com/members/Composer-Motorola-Free-Ringtones.aspx Composer Motorola Free Ringtones,  671, http://forums.thedailywtf.com/members/Chemical-Brothers-Ringtones.aspx Chemical Brothers Ringtones,  gzbjh,
+
==Beispiele==
 +
Aus man vdr.5
 +
 
 +
{{Box Datei | [[Struktur|$VDRCONFIG]]/commands.conf |
 +
<pre>
 +
Check for new mail? : /usr/local/bin/checkmail 2>&1
 +
CPU status          : /usr/local/bin/cpustatus 2>&1
 +
Disk space          : df -h | awk '/[/]video/ { print 100 - $5 "% free"; }'
 +
Drivespace          : df -Ph | awk '/%/ { printf("| %-4s | %-5s | %s\n",$5,$4,$6) }'
 +
Calendar            : date;echo;cal
 +
</pre>
 +
}}
 +
 
 +
Sonstige
 +
 
 +
{{Box Datei | [[Struktur|$VDRCONFIG]]/commands.conf |
 +
<pre>
 +
News ML            : lynx -dump http://www.netholic.com/extras/vdr_announce.php | sed '/[0-9]\/[0-9]/!d;s/\(\([^]]*\)\[\)\{1\}.*/\2/;s/  //g'
 +
</pre>
 +
}}
 +
[[Kategorie:Konfigurationsdateien]]
 +
 
 +
==Hintergrundprozess==
 +
Normalerweise wird VDR angehalten, solange das aufgerufene Kommando oder Skript läuft. Um jedoch einen längeren Prozess laufen zu lassen, kann man diesen auch im Hintergrund starten, siehe dazu auch [[reccmds.conf#Hinweis|Reccmds.conf]]

Version vom 23. Juni 2009, 21:07 Uhr

Beschreibung

In der commands.conf können Befehle angelegt werden, die über das Menü im OSD des VDR erreicht und gestartet werden können.

Diese Datei befindet sich in $VDRCONFIG.

Beispiele

Aus man vdr.5

Datei
$VDRCONFIG/commands.conf
Check for new mail? : /usr/local/bin/checkmail 2>&1 
CPU status          : /usr/local/bin/cpustatus 2>&1 
Disk space          : df -h | awk '/[/]video/ { print 100 - $5 "% free"; }'
Drivespace          : df -Ph | awk '/%/ { printf("| %-4s | %-5s | %s\n",$5,$4,$6) }'
Calendar            : date;echo;cal


Sonstige

Datei
$VDRCONFIG/commands.conf
News ML             : lynx -dump http://www.netholic.com/extras/vdr_announce.php | sed '/[0-9]\/[0-9]/!d;s/\(\([^]]*\)\[\)\{1\}.*/\2/;s/  //g'

Hintergrundprozess

Normalerweise wird VDR angehalten, solange das aufgerufene Kommando oder Skript läuft. Um jedoch einen längeren Prozess laufen zu lassen, kann man diesen auch im Hintergrund starten, siehe dazu auch Reccmds.conf