diff --git a/src/.local/bin/mpva b/src/.local/bin/mpva index fa7e63b..149c92d 100755 --- a/src/.local/bin/mpva +++ b/src/.local/bin/mpva @@ -2,4 +2,4 @@ # Run mpv on the output files of minrss -mpvs $(for v in "$@"; do echo $(head -n 2 "${v}" | tail -n 1 | awk -F\" '{ print $2 }'); done) +mpvs $(extractlink.sh "$@") diff --git a/src/.local/bin/mpvq b/src/.local/bin/mpvq index 21e2447..97b59c0 100755 --- a/src/.local/bin/mpvq +++ b/src/.local/bin/mpvq @@ -2,4 +2,4 @@ # Append link from clipboard to mpv playlist path="$(xsel -b)" -echo "{ command: [ \"loadfile\", \"$path\", \"append-play\" ] }" | socat - /tmp/mpv-socket +echo "{ command: [ \"loadfile\", \"$path\", \"append-play\" ] }" | socat - $1 diff --git a/src/.local/bin/mpvs b/src/.local/bin/mpvs index f08e0b0..76661b7 100755 --- a/src/.local/bin/mpvs +++ b/src/.local/bin/mpvs @@ -3,7 +3,7 @@ # Custom mpv settings # passed to yt-dl -FORMAT="bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best" +FORMAT="" mpv \ --ytdl-format="$FORMAT" \