mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-21 14:23:32 +01:00
fix: now readings 'artists' property instead of artist from tidal
This commit is contained in:
parent
2bca0d2231
commit
f84faba675
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user