Audioscrobbler plugin does not submit repeated songs
Submitted by Nguyen Thai Ngoc Duy
Link to original bug (#541741)
Description
Choose a song and play all over again. It does not submit the song multiple times at expected (same as #344827 but probably different cause).
It seems playing-song-changed does not get emitted on repeated plays. This patch "fixes" it, though I don't think it does it the right way.
Index: shell/rb-shell-player.c
--- shell/rb-shell-player.c (revision 5796) +++ shell/rb-shell-player.c (working copy) @@ -3532,11 +3532,7 @@ g_source_remove (player->priv->emit_playing_id);
/* only emit playing-song-changed etc. when the entry changes */
-
if (player->priv->playing_entry != entry) { player->priv->emit_playing_id = g_idle_add ((GSourceFunc) new_playing_stream_idle_cb, player);
-
} else {
-
player->priv->emit_playing_id = g_idle_add ((GSourceFunc) current_playing_stream_idle_cb, player);
-
}
/* update playing entry */ if (player->priv->playing_entry)