From ac83b7da1ec829cfeb8358b619719b77be5f7c7f Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 4 Apr 2024 12:51:37 +0200 Subject: [PATCH] np-subsonic: docs, user-agent --- .config/zsh/functions/np-subsonic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/zsh/functions/np-subsonic b/.config/zsh/functions/np-subsonic index 5424293..56655c5 100755 --- a/.config/zsh/functions/np-subsonic +++ b/.config/zsh/functions/np-subsonic @@ -1,6 +1,6 @@ #!/usr/bin/env zsh # get now playing from subsonic compatible API -# cfg file: host\nuser\password +# cfg file: host\nuser\password (host=everything before /rest) setopt LOCAL_OPTIONS ERR_RETURN NO_UNSET PIPE_FAIL @@ -11,7 +11,7 @@ done < ${XDG_CONFIG_HOME:-~/.config}/np-subsonic.cfg local host=${cfg[1]} local api_version=1.16.1 -local useragent=np-hack +local useragent=np-subsonic local user=${cfg[2]} local password=${cfg[3]} local salt=$(pwgen 20 1)