Filebrowser-commands.conf
Aus VDR Wiki
(Unterschied zwischen Versionen)
(M) |
|||
Zeile 8: | Zeile 8: | ||
rm?:*:rm -rf %m:br | rm?:*:rm -rf %m:br | ||
ln:*:ln -vfs %M %D:s | ln:*:ln -vfs %M %D:s | ||
− | cat:*:cat %f | + | cat:*:cat %f |
tail:*:tail -f %f | tail:*:tail -f %f | ||
file:*:file %f:r | file:*:file %f:r | ||
Zeile 15: | Zeile 15: | ||
execute?:+(*.pl|*.sh):%f | execute?:+(*.pl|*.sh):%f | ||
playlist:*:for p in %M ; do echo ${p/#\/\///} ; done > /tmp/playlist:br | playlist:*:for p in %M ; do echo ${p/#\/\///} ; done > /tmp/playlist:br | ||
− | untar:+(*.bz2|*.BZ2):tar -C "$(dirname %f)" --use-compress-program=bzip2 -vxf %f | + | untar:+(*.bz2|*.BZ2):tar -C "$(dirname %f)" --use-compress-program=bzip2 -vxf %f:br |
− | untar:+(*.gz|*.GZ|*.tgz|.*TGZ):tar -C "$(dirname %f)" --use-compress-program=gzip -vxf %f | + | untar:+(*.gz|*.GZ|*.tgz|.*TGZ):tar -C "$(dirname %f)" --use-compress-program=gzip -vxf %f:br |
− | unrar:+(*.rar|*.RAR):unrar -y e %f "$(dirname %f)" | + | unrar:+(*.rar|*.RAR):unrar -y e %f "$(dirname %f)":br |
− | unrar p:+(*.rar|*.RAR):unrar -p"$(basename %D)" -y e %f "$(dirname %f)" | + | unrar p:+(*.rar|*.RAR):unrar -p"$(basename %D)" -y e %f "$(dirname %f)":br |
unzip:+(*.zip|*.ZIP):unzip -o %f -d "$(dirname %f)":br | unzip:+(*.zip|*.ZIP):unzip -o %f -d "$(dirname %f)":br | ||
unzip p:+(*.zip|*.ZIP):unzip -o -P"$(basename %D)" %f -d "$(dirname %f)":br | unzip p:+(*.zip|*.ZIP):unzip -o -P"$(basename %D)" %f -d "$(dirname %f)":br |
Version vom 12. März 2006, 13:29 Uhr
Konfigurationsdatei des filebrowser-plugins.
cp:*:cp -r %M %D:br mv:*:mv %M %D:br mkdir:*:mkdir %D:s rm?:*:rm -rf %m:br ln:*:ln -vfs %M %D:s cat:*:cat %f tail:*:tail -f %f file:*:file %f:r mount:!grep -E '[^[%:blank%:]]*[[%:blank%:]]*'%f'[[%:blank%:]]+' /etc/fstab >&1 >/dev/null:mount %f:r umount:!grep -E '[^[%:blank%:]]*[[%:blank%:]]*'%f'[[%:blank%:]]+' /etc/mtab >&1 >/dev/null:umount %f:r execute?:+(*.pl|*.sh):%f playlist:*:for p in %M ; do echo ${p/#\/\///} ; done > /tmp/playlist:br untar:+(*.bz2|*.BZ2):tar -C "$(dirname %f)" --use-compress-program=bzip2 -vxf %f:br untar:+(*.gz|*.GZ|*.tgz|.*TGZ):tar -C "$(dirname %f)" --use-compress-program=gzip -vxf %f:br unrar:+(*.rar|*.RAR):unrar -y e %f "$(dirname %f)":br unrar p:+(*.rar|*.RAR):unrar -p"$(basename %D)" -y e %f "$(dirname %f)":br unzip:+(*.zip|*.ZIP):unzip -o %f -d "$(dirname %f)":br unzip p:+(*.zip|*.ZIP):unzip -o -P"$(basename %D)" %f -d "$(dirname %f)":br avi2mpg:*.avi:ffmpeg -i %f -s 720x576 -b 6000 -vcodec mpeg2video -acodec mp2 -ab 224 -ar 48000 -ac 2 %f.mpg vdr2mp3:*.vdr:ffmpeg -i %f -acodec mp3 -ab 192 -ar 44100 %f.mp3