I’ve just updated to version 2.882 supporting Tidal connect and it works, sort of… but has some issues with IR remote control support on my Pi 4.
Specifically, I can use next track, previous track and pause successfully from the remote control, however pressing the play button does not resume playback and causes a “hang” instead.
After this, the remote control becomes completely unresponsive until a reboot. It also causes the Tidal connect session with my phone to be dropped, although I can reconnect it afterwards. (Albeit with no working remote control)
Looking into this a bit further the issue seems to be with the
volumio play command hanging when used with Tidal connect. EG pressing the play button on the remote uses IRexec to execute
/usr/local/bin/volumio play - this should trigger playback and return immediately however the process hangs and does not return.
Because the process launched by irexec does not return further remote button presses do not send any commands. If I kill the hanging
volumio play process and restart playback via the webUI the remote starts working again - at least for pause / next / previous.
Incidentally, IR support has always been a little bit unstable even with local media playback - if you press skip too rapidly a similar hang can sometimes occur where the remote becomes unresponsive, and I suspect it is also due to this irexec executed process not returning.
I’ve also noticed that volumio seek plus and seek minus commands (+/- 10 seconds) don’t seem to work on the Tidal connect implementation.
It should be possible to reproduce the IR remote problem without an IR remote simply by manually executing the commands normally executed by IRexec from a shell. These can be found below:
### Playback commands ### begin prog = irexec button = KEY_PLAY config = /usr/local/bin/volumio play end begin prog = irexec button = KEY_PAUSE config = /usr/local/bin/volumio pause end begin prog = irexec button = KEY_STOP config = /usr/local/bin/volumio stop end begin prog = irexec button = KEY_PREVIOUS config = /usr/local/bin/volumio previous end begin prog = irexec button = KEY_NEXT config = /usr/local/bin/volumio next end begin prog = irexec button = KEY_FASTFORWARD config = /usr/local/bin/volumio seek plus end begin prog = irexec button = KEY_REWIND config = /usr/local/bin/volumio seek minus end begin prog = irexec button = KEY_DELETE config = /usr/local/bin/volumio clear end ### Volume commands ### begin prog = irexec button = KEY_VOLUMEUP config = /usr/local/bin/volumio volume plus end begin prog = irexec button = KEY_VOLUMEDOWN config = /usr/local/bin/volumio volume minus end begin prog = irexec button = KEY_MUTE config = /usr/local/bin/volumio volume toggle
Hopefully this can be fixed as I tend to use the remote control a lot to control volumio once a playlist is started, and it is still very useful to be able to pause/play/next/previous track with a remote control even with Tidal connect.