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 }