aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-26 15:45:24 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-26 15:45:24 +0000
commitd064cbd64582c33f8b0926503fed38f4b946034d (patch)
treee89be59718940523e544b39f41607a0fc34733c5
parent0148eeb1d647dc9ce5eb122e62388fc8f8e37208 (diff)
Ghetto mpv wrapper
-rwxr-xr-xmpv-play9
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"