5 lines
235 B
Bash
Executable File
5 lines
235 B
Bash
Executable File
#!/bin/bash
|
|
KERNEL=$(uname -sr)
|
|
[[ $KERNEL =~ "icrosoft" ]] && 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 &
|