5 lines
236 B
Bash
Executable File
5 lines
236 B
Bash
Executable File
#!/bin/bash
|
|
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 &
|