aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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"