From c9902a5fb2978a22f51d42250188901c85fdd0c6 Mon Sep 17 00:00:00 2001 From: pasha Date: Sat, 18 Feb 2023 20:15:27 +0300 Subject: [PATCH] uadd --no-tesminal to mpv in lives --- fedilives/owncast.sh | 2 +- fedilives/peertube.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fedilives/owncast.sh b/fedilives/owncast.sh index 1c11fba..252ae8e 100755 --- a/fedilives/owncast.sh +++ b/fedilives/owncast.sh @@ -8,6 +8,6 @@ echo xdg-open https://"$link"/embed/chat/readwrite & -mpv https://"$link" & +mpv --no-terminal https://"$link" & exit 0 diff --git a/fedilives/peertube.sh b/fedilives/peertube.sh index a565b47..ccb0771 100644 --- a/fedilives/peertube.sh +++ b/fedilives/peertube.sh @@ -27,13 +27,13 @@ rm /tmp/videohtml function live() { xdg-open https://"$instance"/plugins/livechat/"$chatver"/router/webchat/room/"$videoid" & - mpv https://"$instance"/static/streaming-playlists/hls/"$videoid"/0.m3u8 & + mpv --no-terminal https://"$instance"/static/streaming-playlists/hls/"$videoid"/0.m3u8 & exit 0 } function nolive() { - mpv --ytdl-format=best "$videolink" + mpv --no-terminal --ytdl-format=best "$videolink" exit 0 }