mirror of
https://github.com/rany2/edge-tts
synced 2024-11-21 17:29:07 +00:00
Add keep-open flag for mpv
This commit is contained in:
parent
ed981ee6e5
commit
fd77c42f74
@ -4,7 +4,7 @@ if [ "$1" == "stdin" ]
|
||||
then
|
||||
stdin=$(cat)
|
||||
shift 1
|
||||
edge-tts -f <(printf '%s' "$stdin") | mpv -
|
||||
edge-tts -f <(printf '%s' "$stdin") | mpv --keep-open=yes -
|
||||
else
|
||||
edge-tts "$@" | mpv -
|
||||
edge-tts "$@" | mpv --keep-open=yes -
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user