The buttons can be used to control MPD. Distributions like Volumio and RuneAudio are based on MPD, therefore this could be interesting for many readers. Peter has provided the Python script that controls everything. You can download it here: mydisplay-20140409. Note that we provide this “as is” without any support. However, the code is clean and well-documented. Therefore it should be relatively easy to adapt it to your needs.