commit a2623f77cc77fa26317d7bc6887a215b708db3f4
parent 1ace8994f402b9b7e644137f291e1e935ce7c802
Author: g-w1 <58830309+g-w1@users.noreply.github.com>
Date: Sun, 19 Jul 2020 17:58:53 -0400
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:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;