This file contains 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
#!/bin/sh | |
# Script to capture info on currently playing song in MPD, add an | |
# (optional) prefix and/or suffix and tweet it all via TTYtter (which | |
# must be of course already been configured) | |
# | |
# Dependencies: TTYtter, a MPD client that can output song info (I use | |
# ncmpcpp) | |
PREFIX='on air: ' # what should go before the now playing string |