mpva, mpvq, mpvs: misc changes

This commit is contained in:
dogeystamp 2022-12-10 10:28:40 -05:00
parent d169bebc2b
commit fcf55ef8a3
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
3 changed files with 3 additions and 3 deletions

View File

@ -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 "$@")

View File

@ -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

View File

@ -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" \