commit 75a1795da819df9635f60c7cb5c6e09caca5fcdd
parent a6159bce27c22136b2c8b52f895548312a578fd5
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 28 Jan 2021 15:27:33 +0100
newsboat: fix the mpd audio stream macro?
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newsboat/config b/newsboat/config
@@ -58,7 +58,7 @@ unbind-key ,
bind-key SPACE macro-prefix
macro SPACE set browser "open -g %u"; open-in-browser; set browser "linkhandler %u"
macro v set browser "linkhandler"; open-in-browser ; set browser "linkhandler %u"
-macro a set browser "mpc add \"$(youtube-dlc -f 'best[ext=mp3]/best[ext=m4a]/251/140/m4a' -g %u | tail -n 1)\" && mpc play"; open-in-browser; set browser "linkhandler %u"
+macro a set browser "mpc add \"$(youtube-dlc -x -g %u)\" && mpc play"; open-in-browser; set browser "linkhandler %u"
macro w set browser "w3m -config ~/.config/w3m/config %u"; open-in-browser; set browser "linkhandler %u"
macro i set browser "youtube-dlc --get-title --get-duration --get-description %u | less"; open-in-browser; set browser "linkhandler %u"
macro c set browser "printf '%s' %u | clc" ; open-in-browser ; set browser "linkhandler %u"