This is the code for physical MPD client I made for my Raspberry Pi. It's attached to the Pi throught the GPIO pins and lets me see and change the current song and volume without logging into the Pi or a computer.