I have been working on a similar python app to what @mdsimon2 provided here, but with some additional features.
It supports any remote control with a basic TSOP38238 IR receiver, in additional to a physical knob with a rotary encoder.
If you're using Squeezelite, you can change tracks and...