mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
fix youtube-dl format arguments
apparently commas aren't correct? i could've sworn this was working before. maybe they changed it recently?
This commit is contained in:
parent
9cf6a1821c
commit
95ad57f9c3
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ ytg() {
|
|||
if [[ ! -e "$vid" && "$(expr substr "$vid" 1 4)" != "http" ]]; then
|
||||
vid="ytdl://$vid"
|
||||
fi
|
||||
mpv_stream "$vid" --ytdl-format=22,95,300,best "$@"
|
||||
mpv_stream "$vid" --ytdl-format=22/95/300/best "$@"
|
||||
}
|
||||
|
||||
ytll() {
|
||||
|
@ -101,7 +101,7 @@ ytll() {
|
|||
}
|
||||
|
||||
ytgll() {
|
||||
youtube-dl -q -f 22,95,300,best "$1" -o - | mpv_stream - --no-ytdl
|
||||
youtube-dl -q -f 22/95/300/best "$1" -o - | mpv_stream - --no-ytdl
|
||||
}
|
||||
|
||||
ai() {
|
||||
|
|
Loading…
Add table
Reference in a new issue