I must admit I copy paste the link to the terminal, so it’s not a seamless experience. I don’t watch enough videos to have done anything other than write a wrapper script with my preferred settings for youtube videos and to convert invidious links to youtube links.
I just tried running mpv --idle=yes --force-window=yes from the terminal and drag a youtube link to the window. It plays like it should. yt-dlp is installed locally for my user in ~/.local/bin and that directory is appended to the PATH environment variable. I also have yt-dlp symlinked to youtube-dl for mpv to pick it up. I guess what’s missing is my preferred options for youtube videos, which I could set up in ~/.config/mpv/mpv.conf. Everytime some site breaks, you run yt-dlp -U to update and cross your fingers.
I must admit I copy paste the link to the terminal, so it’s not a seamless experience. I don’t watch enough videos to have done anything other than write a wrapper script with my preferred settings for youtube videos and to convert invidious links to youtube links.
I just tried running
mpv --idle=yes --force-window=yes
from the terminal and drag a youtube link to the window. It plays like it should.yt-dlp
is installed locally for my user in~/.local/bin
and that directory is appended to thePATH
environment variable. I also haveyt-dlp
symlinked toyoutube-dl
for mpv to pick it up. I guess what’s missing is my preferred options for youtube videos, which I could set up in~/.config/mpv/mpv.conf
. Everytime some site breaks, you runyt-dlp -U
to update and cross your fingers.