In a recent forum post, esa1410 asked about the ability to skip tracks and adjust volume during an alarm using the remote control. It is already possible to skip tracks with the web interface (processed by LMS).
Post: https://forums.lyrion.org/forum/user-forums/squeezebox-touch/1762040-squeezebox-touch-remote-control-command-wake-up-alarm#post1762040
I think I have fairly simple fixes to add both capabilities. I'll focus on the track skip here, since it is very simple and completely separate from the volume change. If you want I can set up a pull request, but the change is limited to a single line of AlarmSnoozeApplet.lua
Current version of lines 715-720 in AlarmSnoozeApplet.lua
window:ignoreAllInputExcept( --these actions are not ignored { 'go', 'back', 'power', 'mute', 'volume_up', 'volume_down', 'pause' }, -- consumeAction is the callback issued for all "ignored" input consumeAction )
Change line 717 to allow processing of jump_fwd and jump_rew commands.
From: { 'go', 'back', 'power', 'mute', 'volume_up', 'volume_down', 'pause' },
To: { 'go', 'back', 'power', 'mute', 'volume_up', 'volume_down', 'pause', 'jump_fwd', 'jump_rew' },
This will enable track skipping using both the remote control and the SB Radio fwd/rew buttons.
I tested this on Pandora (Pyrrha) and a locally stored album.
My fix for allowing volume change via the remote during an alarm is a little larger, but limited to the getAction function within Framework.lua. The bigger structure for volume looks to be fairly complicated, so I want to investigate a bit more before proposing a change.
In a recent forum post, esa1410 asked about the ability to skip tracks and adjust volume during an alarm using the remote control. It is already possible to skip tracks with the web interface (processed by LMS).
Post: https://forums.lyrion.org/forum/user-forums/squeezebox-touch/1762040-squeezebox-touch-remote-control-command-wake-up-alarm#post1762040
I think I have fairly simple fixes to add both capabilities. I'll focus on the track skip here, since it is very simple and completely separate from the volume change. If you want I can set up a pull request, but the change is limited to a single line of AlarmSnoozeApplet.lua
Current version of lines 715-720 in AlarmSnoozeApplet.lua
window:ignoreAllInputExcept( --these actions are not ignored { 'go', 'back', 'power', 'mute', 'volume_up', 'volume_down', 'pause' }, -- consumeAction is the callback issued for all "ignored" input consumeAction )Change line 717 to allow processing of jump_fwd and jump_rew commands.
From: { 'go', 'back', 'power', 'mute', 'volume_up', 'volume_down', 'pause' },
To: { 'go', 'back', 'power', 'mute', 'volume_up', 'volume_down', 'pause', 'jump_fwd', 'jump_rew' },
This will enable track skipping using both the remote control and the SB Radio fwd/rew buttons.
I tested this on Pandora (Pyrrha) and a locally stored album.
My fix for allowing volume change via the remote during an alarm is a little larger, but limited to the getAction function within Framework.lua. The bigger structure for volume looks to be fairly complicated, so I want to investigate a bit more before proposing a change.