Browse Source

[BASH] Use yt-dlp for mpv

master
Gregory Trolliet 2 months ago
parent
commit
52fd0adf78
  1. 4
      .bash_aliases

4
.bash_aliases

@ -19,5 +19,5 @@ alias myconfigfiles='git --git-dir=$HOME/.myconfigfiles.git --work-tree=$HOME'
alias revealjs='pandoc -s -t revealjs -V revealjs-url=../../lib/reveal.js --slide-level 2 --css ../../lib/css/style.css -o'
alias md2pdf='pandoc -V geometry:left=3cm,right=2.5cm,top=2.5cm,bottom=2.5cm -o'
alias mpvlow='mpv --ytdl-format=worstvideo[height\>=480]+bestaudio/480p/worst'
alias mpvhigh='mpv --ytdl-format=bestvideo[height\<=1080]+bestaudio/1080p/best'
alias mpvlow='mpv --script-opts=ytdl_hook-ytdl_path=yt-dlp --ytdl-raw-options=format-sort=height:480'
alias mpvhigh='mpv --script-opts=ytdl_hook-ytdl_path=yt-dlp --ytdl-raw-options=format-sort=height:1080'

Loading…
Cancel
Save