Skip to content

Instantly share code, notes, and snippets.

@gwd999
Forked from TheCedarPrince/ticker.sh
Created February 7, 2021 23:26
Show Gist options
  • Save gwd999/b598fed3f01b00e54ff19601c82e07dc to your computer and use it in GitHub Desktop.
Save gwd999/b598fed3f01b00e54ff19601c82e07dc to your computer and use it in GitHub Desktop.
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