uadd --no-tesminal to mpv in lives
This commit is contained in:
parent
a10b972a41
commit
c9902a5fb2
@ -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
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user