volumio3-backend
volumio3-backend copied to clipboard
Websocket "getState" returns inconsistent information after last song in queue have played.
After last song of queue is played, "position" will be reset to zero, rest of the information still points to the last song in the queue.
Steps to reproduce
- add songs to queue
- listen all songs(or select last from queue and rewind to very last seconds and wait till it ends naturally)
- refresh the web gui with F5 (this simulates user opening the web gui again after the playback have ended)
- "Now playing screen" shows the information about last song in the queue.
- select Goto artist/album.
- bug reproduces.
Tested on Rpi 4, Volumio 3.163 (Qobuz as music source)