Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Song Ticker for OBS - writes to a file and then you can read it into OBS
while true
do
sleep 15
playerctl -p chromium metadata --format "{{ title }}" | sed -E 's/\[[^][]*\]//g' | sed 's/([^)]*)//g' &> ~/Streaming/song.txt
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment