mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
more youtube video quality stuff
This commit is contained in:
parent
d71e77e548
commit
9c4740a070
1 changed files with 5 additions and 1 deletions
|
@ -93,13 +93,17 @@ ytg() {
|
|||
if [[ ! -e "$vid" && "$(expr substr "$vid" 1 4)" != "http" ]]; then
|
||||
vid="ytdl://$vid"
|
||||
fi
|
||||
mpv_stream "$vid" --ytdl-format=22,95,best "$@"
|
||||
mpv_stream "$vid" --ytdl-format=22,95,300,best "$@"
|
||||
}
|
||||
|
||||
ytll() {
|
||||
youtube-dl -q -f best "$1" -o - | mpv_stream - --no-ytdl
|
||||
}
|
||||
|
||||
ytgll() {
|
||||
youtube-dl -q -f 22,95,300,best "$1" -o - | mpv_stream - --no-ytdl
|
||||
}
|
||||
|
||||
ai() {
|
||||
# hai domo
|
||||
yt "$@" --slang=en --sub-font='Tekton Pro' --sub-bold=yes \
|
||||
|
|
Loading…
Add table
Reference in a new issue