mpva, mpvq, mpvs: misc changes
This commit is contained in:
parent
d169bebc2b
commit
fcf55ef8a3
@ -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 "$@")
|
||||
|
@ -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
|
||||
|
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user