Prepending 'Now playing:' to whatmusic
This commit is contained in:
parent
73fe92e0c3
commit
973af06df4
|
@ -12,7 +12,7 @@ artist=$(echo "$data" | jq '.artist_name' | tr -d '"')
|
|||
track=$(echo "$data" | jq '.track_name' | tr -d '"')
|
||||
|
||||
if [[ "$artist" != "null" ]]; then
|
||||
echo "$artist" - "$track"
|
||||
echo "Currently playing: $artist" - "$track"
|
||||
else
|
||||
echo "Not listening to anything right now."
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue