Handle more audio types by file extension

This commit is contained in:
Arun Prakash Jana 2019-12-22 02:06:20 +05:30
parent 2276e3ddfd
commit 55e4e938d0
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

View File

@ -122,8 +122,8 @@ handle_extension() {
fi
exit 1;;
## M4A audio
m4a)
## Audio
aac|flac|m4a|mid|midi|mpa|mp2|mp3|ogg|wav|wma)
if which mocp >/dev/null 2>&1; then
mocplay "${FPATH}" >/dev/null 2>&1
exit 0