Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Thread Closed 
Solved: Playlist jumps back to playing entry after a few seconds when stop scrolling
#15
As @kurt1970 mentioned, playlists containing radio stations are useful if you want to be able to have a list of stations to easily pick from for example the Default Playlist.

When a station transmits updated metadata auto-scrolling keeps the item visible in the Queue for a consistent UX. It's only an issue for the handful of badly behaving stations that transmit metadata unnecessarily.

Have a look at these two functions in /var/www/js/playerlib.js

renderPlayqueue()
updateActivePlayqueueItem()

1. if we don't auto-scroll for radio stations then we end up with a separate UX for tracks vs stations.
2. If we add code to avoid auto-scroll for stations that transmit metadata even though the song hasn't changed we end up with "exception code".

Either of these could be done but there needs to be good justification for either changing the UX or adding exception code. Number 1 involves a change to the functions mentioned above. Number 2 involves changes to the back-end code that maintains the MPD idle loop. We would need to check the metadata and keep MPD in its idle loop unless the metadata "actually changed". Something like that.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub


Messages In This Thread
RE: Playlist jumps back to playing entry after a few seconds when stop scrolling - by Tim Curtis - 09-10-2024, 04:01 PM

Forum Jump: