Created
February 7, 2021 23:05
-
-
Save TheCedarPrince/8e8762c0c3ae5d5affd2f2bed2819f19 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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