Scripts: Open mpv window when starting audio_only streams

This commit is contained in:
Riyyi
2022-08-10 16:41:58 +02:00
parent 140c723776
commit 915690a2c8
+5 -2
View File
@@ -140,10 +140,13 @@ stream() {
read -r quality
fi
if [ -n "$lowLatency" ]; then
if [ -z "$lowLatency" ]; then
arguments="\
--player-args '--force-window'"
else
arguments="\
--twitch-low-latency \
--player-args '--cache=yes --demuxer-max-bytes=750k'"
--player-args '--force-window --cache=yes --demuxer-max-bytes=750k'"
fi
echo "Starting stream $channel @ $quality"