parent
4457e416db
commit
b63030d302
|
@ -589,9 +589,6 @@ void Player::PlayAt(const int index, Engine::TrackChangeFlags change, const Play
|
|||
}
|
||||
else {
|
||||
qLog(Debug) << "Playing song" << current_item_->Metadata().title() << url;
|
||||
if (current_item_->HasTemporaryMetadata()) {
|
||||
app_->playlist_manager()->active()->InformOfCurrentSongChange(autoscroll);
|
||||
}
|
||||
engine_->Play(url, current_item_->Url(), change, current_item_->Metadata().has_cue(), current_item_->effective_beginning_nanosec(), current_item_->effective_end_nanosec());
|
||||
}
|
||||
|
||||
|
|
|
@ -597,6 +597,7 @@ void Playlist::set_current_row(const int i, const AutoScroll autoscroll, const b
|
|||
QModelIndex old_current_item_index = current_item_index_;
|
||||
|
||||
ClearStreamMetadata();
|
||||
nowplaying_ = false;
|
||||
|
||||
if (next_row() != -1 && next_row() != i) {
|
||||
PlaylistItemPtr next_item = item_at(next_row());
|
||||
|
@ -1613,6 +1614,7 @@ void Playlist::SetStreamMetadata(const QUrl &url, const Song &song, const bool m
|
|||
}
|
||||
else {
|
||||
update_scrobble_point = true;
|
||||
nowplaying_ = false;
|
||||
InformOfCurrentSongChange(AutoScroll_Never);
|
||||
}
|
||||
|
||||
|
@ -2145,7 +2147,6 @@ void Playlist::UpdateScrobblePoint(const qint64 seek_point_nanosec) {
|
|||
}
|
||||
}
|
||||
|
||||
nowplaying_ = false;
|
||||
scrobbled_ = false;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue