diff options
author | Matthew Lemon <y@yulqen.org> | 2024-02-27 19:51:22 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-02-27 19:51:22 +0000 |
commit | 49f584e813fc4daa9702cd533de7725752ac990a (patch) | |
tree | f809f86e6786b262ebc929676f05853050c8755a | |
parent | 524744b3a3598a12d7f7462741525c9e00d337f7 (diff) | |
parent | d064cbd64582c33f8b0926503fed38f4b946034d (diff) |
Merge branch 'master' of ssh://git.yulqen.org:2222/home/git/repositories/shell/bash-scripts
-rwxr-xr-x | mpv-play | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mpv-play b/mpv-play new file mode 100755 index 0000000..906c778 --- /dev/null +++ b/mpv-play @@ -0,0 +1,9 @@ +#!/usr/bin/bash + +if [[ -z $1 ]]; then + echo "You need to pass the URL." + exit 0 +fi + +URL="$1" +mpv --profile=fast --hwdec=auto-safe "$URL" |