From 798ca4a3364852032abd0841bc8292dda48d7f5f Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Mon, 22 Aug 2022 12:38:06 -0500 Subject: feat(mpv): update mpv config --- mpv/.config/mpv/mpv.conf | 3 +++ mpv/.config/yt-dlp/config | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf index f52eced..34041e6 100755 --- a/mpv/.config/mpv/mpv.conf +++ b/mpv/.config/mpv/mpv.conf @@ -34,6 +34,9 @@ sub-font-size=16 sub-align-x=center sub-align-y=bottom +# Scripts +script-opts=ytdl_hook-ytdl_path=yt-dlp + [twitch] profile-cond=get("media-title", ""):find("twitch.tv/[^ /]+") ~= nil profile-restore=copy-equal diff --git a/mpv/.config/yt-dlp/config b/mpv/.config/yt-dlp/config index 04a163f..f664a56 100644 --- a/mpv/.config/yt-dlp/config +++ b/mpv/.config/yt-dlp/config @@ -1,3 +1,6 @@ ---sub-langs=all ---cookies-from-browser=chromium ---embed-subs +--downloader=aria2c +--downloader-args="aria2c:-x 16 -k 1M" +--cookies-from-browser=firefox +--yes-playlist +--write-auto-subs +--sub-langs="en.*,all" -- cgit v1.2.3-70-g09d2