commit 20b251cf2db9e83ea2769de24eb92a6c99ce227b
parent cb270ef6bc6343f237a207766045e8aa39495c19
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 26 Feb 2019 12:58:01 +0100
Embed subtitles, increase newsboat threads
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/links/.commands.sh b/links/.commands.sh
@@ -138,7 +138,7 @@ news() {
## web services
-alias youtube-dl='youtube-dl --format mp4'
+alias youtube-dl='youtube-dl -f bestvideo+bestaudio/best --all-subs --embed-subs'
weather() { curl "wttr.in/?m"; }
transfer() { # use transfer.sh to share files over the net
if [ $# -eq 0 ]; then
diff --git a/links/.config/newsboat/config b/links/.config/newsboat/config
@@ -31,7 +31,7 @@ history-limit 0 # do not store search queries
bookmark-cmd "~/bin/bookmark"
show-read-feeds no # toggle view with 'l'
auto-reload yes
-reload-threads 3
+reload-threads 6
reload-time 20
feed-sort-order firsttag
article-sort-order date-asc
@@ -56,7 +56,7 @@ highlight feedlist "https?://[^ ]+" default default bold
# macro prefix is ,
browser xdg-open
macro , open-in-browser
-macro t set browser "tsp youtube-dl --add-metadata --write-auto-sub --sub-lang en -ic"; open-in-browser ; toggle-article-read ; set browser xdg-open
+macro t set browser "tsp youtube-dl --add-metadata -ic -f bestvideo+bestaudio/best --all-subs --embed-subs"; open-in-browser ; toggle-article-read ; set browser xdg-open
macro a set browser "tsp youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-browser ; toggle-article-read ; set browser xdg-open
macro v set browser "setsid nohup mpv"; open-in-browser ; toggle-article-read ; set browser xdg-open
macro w set browser "w3m"; open-in-browser ; toggle-article-read ; set browser open