Advertisement
metalx1000

stream youtube with mpv

Apr 7th, 2022
1,315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. #!/bin/bash
  2. url="$(xclip -selection "clipboard" -o)"
  3. notify-send -t 3000 --icon=video-television "Playing Video" "$url";
  4. mpv --ytdl-format=22 --fs "$url" || mpv --fs "$url"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement