瀏覽代碼

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.
pull/499/head
g-w1 5 年之前
committed by GitHub
父節點
當前提交
5c497e19e9
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      share/mailcap

+ 1
- 0
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; text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput;
image/*; openfile %s ; image/*; openfile %s ;
video/*; setsid mpv --quiet %s &; copiousoutput video/*; setsid mpv --quiet %s &; copiousoutput
audio/*; mpv %s ;
application/pdf; openfile %s ; application/pdf; openfile %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput; application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput; application/pgp-keys; gpg --import '%s'; copiousoutput;

Loading…
取消
儲存