From f84faba67503af61290477b49f9653008b1ed80e Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Sun, 14 May 2023 11:26:34 +0200 Subject: [PATCH] fix: now readings 'artists' property instead of artist from tidal --- i3/scripts/tidal-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/scripts/tidal-cli.sh b/i3/scripts/tidal-cli.sh index 1aa8b03..506b35e 100755 --- a/i3/scripts/tidal-cli.sh +++ b/i3/scripts/tidal-cli.sh @@ -29,7 +29,7 @@ case $1 in "info") JSON=$(httpGet current) TITLE=$(echo "$JSON" | jq -r '.title') - ARTISTS=$(echo "$JSON" | jq -r '.artist') + ARTISTS=$(echo "$JSON" | jq -r '.artists') INFO=$(echo "$TITLE - $ARTISTS") if [ ${#INFO} -le 3 ]; then echo "No music info available"