sad

simple audio daemon
git clone git://git.2f30.org/sad
Log | Files | Refs | LICENSE

commit 625bba367f1e8793b78e1199c9ae1a2cc1155823
parent f8287f42e879e6f8d932a98f30667077ff846852
Author: sin <sin@2f30.org>
Date:   Wed, 31 Dec 2014 15:46:15 +0000

Do not treat "OK" as a song ID

Diffstat:
Mscripts/sad-add | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/scripts/sad-add b/scripts/sad-add @@ -21,6 +21,7 @@ $paths # add library to playlist. echo "library" | nc -U "$sock" | while read -r song; do + if test "$song" = "OK"; then continue; fi id=$(printf '%s' "$song" | cut -d ':' -f 1) echo "add" "$id" done | nc -U "$sock"