Skip to content

[3.34] coremodel: Reset states when changing player playlist

Jean Felder requested to merge wip/jfelder/reset-playing-state-3-34 into gnome-3-34

When changing the player playlist, the state of the coresongs from the current model are not updated. Thus, the playing are played states of the current model are unchanged. For example; this means that the play icon of the current model will still be visible once an other model (album, artist, etc) is loaded (the PLAYING state will still be set).

Fix the issue by removing the PLAYING and PLAYED states of the coresongs from the current model before changing the player model.

Merge request reports