From d064cbd64582c33f8b0926503fed38f4b946034d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 26 Feb 2024 15:45:24 +0000 Subject: Ghetto mpv wrapper --- mpv-play | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 mpv-play 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" -- cgit v1.2.3