I plugged LIRC to volumio. And I want to configure the buttons to switch playlists (playlist next\previous).
It is clear that you need to do it via mpc command. But can’t think of a sequence of commands.
I think it would be very convenient. In advance to make playlists on the computer (rock-list, loungelist, radio?? etc).
And then IR remote just to switch without the computer. IMHO we need to make a bash script that outputs a list of playlists that identifies the current, switch on next\previous).