fish: Fix kink function
This commit is contained in:
parent
4751d47e23
commit
dde0f53c4d
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
|||
else if [ "$channel" = "distortion" ]
|
||||
set pls_url "https://playerservices.streamtheworld.com/pls/KINK_DISTORTIONAAC.pls"
|
||||
end
|
||||
set -f stream_url (${pkgs.curl}/bin/curl -sSL $pls_url | grep File | shuf | head -n 1 | awk -F '=' 'BEGIN { RS="\r\n" } { print $2 }')
|
||||
set -f stream_url (${pkgs.curl}/bin/curl -sSL "$pls_url" | grep File | shuf | head -n 1 | awk -F '=' 'BEGIN { RS="\r\n" } { print $2 }')
|
||||
mpc clear
|
||||
mpc add "$stream_url"
|
||||
mpc play
|
||||
|
|
Loading…
Reference in a new issue