alias now="spotiline status --json | jq -r '.track + \" - \" + .artist'"
#!/bin/bash
TRACK=$(spotiline status --json | jq -r '.track')
ARTIST=$(spotiline status --json | jq -r '.artist')
twitter tweet "🎵 Now listening: $TRACK by $ARTIST"
if spotiline status &>/dev/null; then
echo "Daemon is running"
else
spotiline daemon start
fi
spotiline search "chill vibes" --json | jq -r '.[0].uri' | xargs spotiline queue
spotiline next
spotiline search "synthwave" --json | jq -r '.[] | .name + " by " + .artist'