uadd --no-tesminal to mpv in lives

This commit is contained in:
паша душный 2023-02-18 20:15:27 +03:00
parent a10b972a41
commit c9902a5fb2
2 changed files with 3 additions and 3 deletions

View File

@ -8,6 +8,6 @@ echo
xdg-open https://"$link"/embed/chat/readwrite & xdg-open https://"$link"/embed/chat/readwrite &
mpv https://"$link" & mpv --no-terminal https://"$link" &
exit 0 exit 0

View File

@ -27,13 +27,13 @@ rm /tmp/videohtml
function live() function live()
{ {
xdg-open https://"$instance"/plugins/livechat/"$chatver"/router/webchat/room/"$videoid" & 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 exit 0
} }
function nolive() function nolive()
{ {
mpv --ytdl-format=best "$videolink" mpv --no-terminal --ytdl-format=best "$videolink"
exit 0 exit 0
} }