For a long time, I have been wondering how to add infrared (IR) remote controls to SnakeOil. The computers we use have no IR receivers and I was not keen to solder an IR receiver and then play with low level IR codes in Linux.
Like many of you, I have a remote to control the volume and mute my system. And have to use my phone to skip to next song, skip back, pause etc. Well, I can now do all of the above basic playback controls using only my IR remote.
It was quite a challenge to learn how to control LMS with a keyboard and how to use the Flirc USB IR receiver. Not helped when the LMS documentation is difficult to learn from. While the Flirc USB is very capable, key information was scattered. Had to do things by trial and error, with no response from the manufacturer, despite many attempts. And of course, I had to pick a remote that Flirc struggled with and chose the hardest player LMS.
I have now consolidated all of this in the wiki making it much easier for others to replicate what I have done. And the approach will work for MPD and other players.
https://www.snakeoil-os.net/reference/ad...-ir-remote
Like many of you, I have a remote to control the volume and mute my system. And have to use my phone to skip to next song, skip back, pause etc. Well, I can now do all of the above basic playback controls using only my IR remote.
It was quite a challenge to learn how to control LMS with a keyboard and how to use the Flirc USB IR receiver. Not helped when the LMS documentation is difficult to learn from. While the Flirc USB is very capable, key information was scattered. Had to do things by trial and error, with no response from the manufacturer, despite many attempts. And of course, I had to pick a remote that Flirc struggled with and chose the hardest player LMS.

I have now consolidated all of this in the wiki making it much easier for others to replicate what I have done. And the approach will work for MPD and other players.
https://www.snakeoil-os.net/reference/ad...-ir-remote