fix: now readings 'artists' property instead of artist from tidal

This commit is contained in:
Rick van Lieshout 2023-05-14 11:26:34 +02:00
parent 2bca0d2231
commit f84faba675

View File

@ -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"