Updated for multisystem - bin/stream

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-08-18 08:09:15 +02:00
parent cbc3fdc5e6
commit 07b3870e3d

View File

@ -1,2 +1,4 @@
#!/bin/bash
nohup streamlink -p mpv $1 best > /dev/null 2>&1 &
KERNEL=$(uname -sr)
[[ $KERNEL =~ "Microsoft" ]] && nohup streamlink -p "/mnt/c/Program\ Files/VideoLAN/VLC/vlc.exe" $1 best > /dev/null 2>&1 &
[[ $KERNEL =~ "gentoo" ]] && nohup streamlink -p mpv $1 best > /dev/null 2>&1 &