From 5c497e19e9d52506e505f137323640d83d1ab263 Mon Sep 17 00:00:00 2001 From: g-w1 <58830309+g-w1@users.noreply.github.com> Date: Sun, 19 Jul 2020 17:34:33 -0400 Subject: [PATCH] Add audio playback with mailcap and mpv Allow audio to also be listened to from an email. Did not include setsid because then there would be no way to pause. --- share/mailcap | 1 + 1 file changed, 1 insertion(+) 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;