When playing Tidal track and execute “stop” command, on UI it keeps ticking time, growing progress and showing “pause” button just like it is playing. Also “next”, “pause”, “previous” buttons became unresponsive, they do nothing. Only way to fix UI - open new track from library or queue.
In status: still “play” and “seek” is growing
However “stop” command works for local/nas files, in this case UI shows “play” button and time at 0 and not ticking as expected.
Seems like there is wrong behavior in statemachine file for music services.
Prerequisites
Volumio Information
Volumio Version: 3.429
Hardware: RPi
DAC:
Debug Log
info: CoreCommandRouter::volumioGetState
info:
---------------------------- Client requests Volumio stop
info: CoreCommandRouter::volumioStop
info: CoreStateMachine::stop
info: CoreStateMachine::setConsumeUpdateService undefined
info: CoreStateMachine::stPlaybackTimer
info: CoreStateMachine::updateTrackBlock
info: CorePlayQueue::getTrackBlock
info: CoreStateMachine::pushState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: CoreStateMachine::serviceStop
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::serviceStop
info: [1677069344963] ControllerTidal::stop
info: CoreStateMachine::setConsumeUpdateService mpd
info: ControllerMpd::stop
info: [GPIO_Control] *** musicStop ***
info: [GPIO_Control] Delaying: 0ms
info: [GPIO_Control] Turning GPIO 4 Off (musicStop)
info:
---------------------------- MPD announces state update: player
info: sendMpdCommand stop took 76 milliseconds
info: ControllerMpd::getState
info: sendMpdCommand status took 4 milliseconds
info: sendMpdCommand playlistinfo took 4 milliseconds
info: ControllerMpd::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: CorePlayQueue::getTrack 0
info: CoreStateMachine::syncState stateService stop
info: CoreStateMachine::syncState currentStatus stop
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: No code
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: ------------------------------ 100ms
info: [GPIO_Control] *** musicPlay ***
info: [GPIO_Control] Delaying: 0ms
info: [GPIO_Control] *** musicPlay ***
info: [GPIO_Control] Delaying: 0ms
info: [GPIO_Control] *** musicPlay ***
info: [GPIO_Control] Delaying: 0ms
info: touch_display: Setting screensaver timeout to 0 seconds.
info: [GPIO_Control] Turning GPIO 4 On (musicPlay)
info: touch_display: Setting screensaver timeout to 0 seconds.
info: CoreCommandRouter::volumioGetState
Steps to Reproduce
- Play Tidal track
- Run
volumio stop
CLI command