Imagecmds.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K
 
Zeile 23: Zeile 23:
 
  Size of picture                  : du -chs %s
 
  Size of picture                  : du -chs %s
 
  Pregenerate this folder and below : [[Struktur|$PATH]]/[[image.sh]]
 
  Pregenerate this folder and below : [[Struktur|$PATH]]/[[image.sh]]
  Change burn template              : echo ln -fs '%s' '$(dirname %s)/menu-bg.png' <nowiki>|</nowiki> sh
+
  Change burn template              : sh -c "ln -fs '%s' '$(dirname %s)/menu-bg.png'"
  Change burn template (button)    : echo ln -fs '%s' '$(dirname %s)/menu-button.png' <nowiki>|</nowiki> sh
+
  Change burn template (button)    : sh -c "ln -fs '%s' '$(dirname %s)/menu-button.png'"
 
  Delete picture?                  : rm -f %s
 
  Delete picture?                  : rm -f %s
 
}}
 
}}
  
 
[[Kategorie:Konfigurationsdateien]]
 
[[Kategorie:Konfigurationsdateien]]

Aktuelle Version vom 21. Mai 2006, 19:12 Uhr

Konfigurationsdatei des image-plugins.

Datei
$VDRCONFIG/plugins/image/imagecmds.conf
#
# This is a example of imagecmds.conf with usually using and sample entrys.
#
# This file should placed on VDR configuration folder with setup.conf
#  .../setup.conf
#  .../plugins/imagecmds.conf
#
# Syntax is: <name>[?];<command>
#
# <name>    = descriptor displayed in VDR
# [?]       = confirmation request, before execute command (optionally)
#             %s - placeholder filename (optionally)
#
# See also at man-pages vdr(5), its the same syntax as reccmds.conf
#
Informations about picture        : file %s
Size of picture                   : du -chs %s
Pregenerate this folder and below : $PATH/image.sh
Change burn template              : sh -c "ln -fs '%s' '$(dirname %s)/menu-bg.png'"
Change burn template (button)     : sh -c "ln -fs '%s' '$(dirname %s)/menu-button.png'"
Delete picture?                   : rm -f %s