One needs the Open With (6.8.6) extension, mpv installed on the system and the yt-dlp (from https://github.com/yt-dlp/yt-dlp or https://github.com/nicolaasjan/yt-dlp/releases).
The latter i saved in a folder eg. /home/user/utils together with a small script eg. ytdl-mpv:
Code: Select all
#!/bin/bash
/home/user/utils/yt-dlp -o - $1 | mpv -
This script is to register (as usual) into the list of Open With extension.
It works nicely (in Serpent for the moment) but until now i haven't found a solution how to pass the tite of the video to mpv too, so that it's shown properly in mpv's titlebar - like usually (in Windows)...