summaryrefslogtreecommitdiff
path: root/.local/bin/mpvsel
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-08-10 01:36:56 -0700
committerxyz <gky44px1999@gmail.com>2021-08-10 01:36:56 -0700
commitd51fe10f9acc2ec675e8c7cdf8f394112a36d03b (patch)
tree2b1c65cb305a5ac53590a2cf3a9b79109fc58135 /.local/bin/mpvsel
parent7fd49e817ebc9b3b3e985d393dff299094d37e0e (diff)
480p for other website too
Diffstat (limited to '.local/bin/mpvsel')
-rwxr-xr-x.local/bin/mpvsel2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/mpvsel b/.local/bin/mpvsel
index acaf48a6..cae9f7eb 100755
--- a/.local/bin/mpvsel
+++ b/.local/bin/mpvsel
@@ -3,4 +3,4 @@
# https://www.rockyourcode.com/til-how-to-watch-youtube-videos-with-mpv-and-keyboard-shortcuts/
# https://github.com/mpv-player/mpv/issues/7792
-mpv --ytdl-format='bestvideo[height<=?480][fps<=?30][vcodec!^=?vp9][vcodec!^=?av01]+bestaudio/best[height<=?900][fps<=?30][vcodec!^=?vp9][vcodec!^=?av01]' --ytdl-raw-options='write-sub=,sub-lang="en,en-US,en-GB,zh-CN,zh-Hans,zh-Hant,zh-HK,zh-SG,zh-TW"' --fs --speed=2 --af=rubberband=pitch-scale=0.981818181818181 "$(xsel -ob)"
+mpv --ytdl-format='bestvideo[height<=?480][fps<=?30][vcodec!^=?vp9][vcodec!^=?av01]+bestaudio/best[height<=?480][fps<=?30][vcodec!^=?vp9][vcodec!^=?av01]' --ytdl-raw-options='write-sub=,sub-lang="en,en-US,en-GB,zh-CN,zh-Hans,zh-Hant,zh-HK,zh-SG,zh-TW"' --fs --speed=2 --af=rubberband=pitch-scale=0.981818181818181 "$(xsel -ob)"