mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-06 20:33:30 +01:00
Update scrobble point when song is restarted
This commit is contained in:
parent
004b000890
commit
73164f7182
@ -600,7 +600,11 @@ void Playlist::set_current_row(int i, bool is_stopping) {
|
||||
queue_->TakeNext();
|
||||
}
|
||||
|
||||
if (current_item_index_ == old_current_item_index) return;
|
||||
if (current_item_index_ == old_current_item_index) {
|
||||
UpdateScrobblePoint();
|
||||
nowplaying_ = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (old_current_item_index.isValid()) {
|
||||
emit dataChanged(old_current_item_index, old_current_item_index.sibling(old_current_item_index.row(), ColumnCount - 1));
|
||||
|
Loading…
x
Reference in New Issue
Block a user