mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 06:44:41 +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")
|
"info")
|
||||||
JSON=$(httpGet current)
|
JSON=$(httpGet current)
|
||||||
TITLE=$(echo "$JSON" | jq -r '.title')
|
TITLE=$(echo "$JSON" | jq -r '.title')
|
||||||
ARTISTS=$(echo "$JSON" | jq -r '.artist')
|
ARTISTS=$(echo "$JSON" | jq -r '.artists')
|
||||||
INFO=$(echo "$TITLE - $ARTISTS")
|
INFO=$(echo "$TITLE - $ARTISTS")
|
||||||
if [ ${#INFO} -le 3 ]; then
|
if [ ${#INFO} -le 3 ]; then
|
||||||
echo "No music info available"
|
echo "No music info available"
|
||||||
|
Loading…
Reference in New Issue
Block a user