Pārlūkot izejas kodu
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.
tags/v3.1
g-w1
pirms 5 gadiem
committed by
GitHub
vecāks
revīzija
a2623f77cc
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar
1 papildinājumiem un
0 dzēšanām
-
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; |