1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-16 10:38:53 +01:00
This commit is contained in:
Jonas Kvinge 2019-04-04 20:17:28 +02:00
parent c38639afcb
commit cf0a47e836

View File

@ -331,7 +331,7 @@ void ListenBrainzScrobbler::UpdateNowPlaying(const Song &song) {
song_playing_ = song;
timestamp_ = QDateTime::currentDateTime().toTime_t();
if (!song.is_metadata_good()) || !IsAuthenticated()) || app_->scrobbler()->IsOffline()) return;
if (!song.is_metadata_good() || !IsAuthenticated() || app_->scrobbler()->IsOffline()) return;
QString album = song.album();
album = album.remove(Song::kAlbumRemoveDisc);