#!/usr/bin/env sh

playerctl -p spotifyd metadata -f '{{ uc(status) }} {{title}} - {{artist}} | {{duration(position)}}/{{duration(mpris:length)}}' 2>/dev/null \
	| sed -e 's/PLAYING//' \
		-e 's/PAUSED//' \
		-e 's/STOPPED//'