Ticket #2767: mc.ext: add support of ape, aac and wvm4a formats.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2012-10-05 13:02:40 +03:00 committed by Andrew Borodin
parent 30cdf01d05
commit 5738b8d863
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,8 @@ do_view_action() {
case "${filetype}" in
*)
cat "${MC_EXT_FILENAME}"
mplayer -identify -vo null -ao null -frames 0 "${MC_EXT_FILENAME}" 2>&1 | \
sed -n 's/^ID_//p'
;;
esac
}

View File

@ -432,7 +432,7 @@ include/image
### Sound files ###
regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a)$
regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wvm4a)$
Open=@EXTHELPERSDIR@/sound.sh open common
regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$