summaryrefslogtreecommitdiff
path: root/share/mailcap
diff options
context:
space:
mode:
authorg-w1 <58830309+g-w1@users.noreply.github.com>2020-07-19 17:58:53 -0400
committerGitHub <noreply@github.com>2020-07-19 17:58:53 -0400
commita2623f77cc77fa26317d7bc6887a215b708db3f4 (patch)
tree6599b21dbf6839a042326f53a96aa3c695ba248a /share/mailcap
parent1ace8994f402b9b7e644137f291e1e935ce7c802 (diff)
Add audio playback with mailcap and mpv (#499)
Allow audio to also be listened to from an email. Did not include setsid because then there would be no way to pause.
Diffstat (limited to 'share/mailcap')
-rw-r--r--share/mailcap1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mailcap b/share/mailcap
index 5bd2471..b355f32 100644
--- a/share/mailcap
+++ b/share/mailcap
@@ -3,6 +3,7 @@ text/html; openfile %s ; nametemplate=%s.html
text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput;
image/*; openfile %s ;
video/*; setsid mpv --quiet %s &; copiousoutput
+audio/*; mpv %s ;
application/pdf; openfile %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput;