Skip to content

player: Ignore {next, previous} if the player is not playing

Jean Felder requested to merge wip/jfelder/3-32-fix-random-next into gnome-3-32

Next and previous song actions can be performed from a shortcut even if the player has not started yet. This can result in a crash if the player is in shuffle mode because it tries to access the shuffle_indexes list which has not been populated yet.

Fix the issue by checking that the player is playing before performing these actions.

Closes: #306 (closed)

Merge request reports