mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Handle more audio types by file extension
This commit is contained in:
parent
2276e3ddfd
commit
55e4e938d0
|
@ -122,8 +122,8 @@ handle_extension() {
|
||||||
fi
|
fi
|
||||||
exit 1;;
|
exit 1;;
|
||||||
|
|
||||||
## M4A audio
|
## Audio
|
||||||
m4a)
|
aac|flac|m4a|mid|midi|mpa|mp2|mp3|ogg|wav|wma)
|
||||||
if which mocp >/dev/null 2>&1; then
|
if which mocp >/dev/null 2>&1; then
|
||||||
mocplay "${FPATH}" >/dev/null 2>&1
|
mocplay "${FPATH}" >/dev/null 2>&1
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue