Filebrowser-commands.conf
Aus VDR Wiki
(Unterschied zwischen Versionen)
(darf nicht fehlen...) |
(+ avi2mpg) |
||
Zeile 18: | Zeile 18: | ||
Unrar (list):*.rar:unrar l %f | Unrar (list):*.rar:unrar l %f | ||
Symlink:*:ln -vfs %M %D | Symlink:*:ln -vfs %M %D | ||
+ | Avi2mpg:*.avi:r=%f ; ffmpeg -i %f -s 720x576 -b 6000 -vcodec mpeg2video -acodec mp2 -ab 224 -ar 48000 -ac 2 "${r/%avi/mpg}" | ||
</pre> | </pre> | ||
}} | }} | ||
[[Kategorie:Konfigurationsdateien]] | [[Kategorie:Konfigurationsdateien]] |
Version vom 20. Januar 2006, 16:04 Uhr
Konfigurationsdatei des filebrowser-plugins.
Mkdir:*:mkdir %D && echo Created %D Copy:*:cp -r %M %D && echo Copied %M to %D Move:*:mv %M %D && echo Moved %M to %D Cat:!file %f | grep -q text:cat %f Tail:!file %f | grep -q text:tail -f %f Execute?:!test -x %f -a -f %f:%f Remove?:*:rm -rf %m && echo Removed %M File type:*:file %f Mount:!grep -E '[^[%:blank%:]]*[[%:blank%:]]*'%f'[[%:blank%:]]+' /etc/fstab >&1 >/dev/null:mount %f Unmount:!grep -E '[^[%:blank%:]]*[[%:blank%:]]*'%f'[[%:blank%:]]+' /etc/mtab >&1 >/dev/null:umount %f Playlist:*:for p in %M ; do echo ${p/#\/\///} ; done > /tmp/playlist && echo Created /tmp/playlist Unrar (p):*.rar:cd "$(dirname %f)" ; unrar -p"$(basename %D)" -y e %f Unrar:*.rar:cd "$(dirname %f)" ; unrar -y e %f Unrar (list):*.rar:unrar l %f Symlink:*:ln -vfs %M %D Avi2mpg:*.avi:r=%f ; ffmpeg -i %f -s 720x576 -b 6000 -vcodec mpeg2video -acodec mp2 -ab 224 -ar 48000 -ac 2 "${r/%avi/mpg}"