Commit 98e5a25b authored by Jonathan Matthew's avatar Jonathan Matthew

shell-player: clear playlist parser cancellable when pausing
parent 493e8502
......@@ -2378,6 +2378,10 @@ rb_shell_player_playpause (RBShellPlayer *player,
rb_debug ("playing source is already NULL");
} else if (rb_source_can_pause (player->priv->source)) {
rb_debug ("pausing mm player");
if (player->priv->parser_cancellable != NULL) {
g_object_unref (player->priv->parser_cancellable);
player->priv->parser_cancellable = NULL;
rb_player_pause (player->priv->mmplayer);
songs = rb_source_get_entry_view (player->priv->current_playing_source);
if (songs)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment