Add option to scrobbler setting for showing login error

Fixes #430
This commit is contained in:
Jonas Kvinge
2020-05-12 22:25:00 +02:00
parent a950ec3bd5
commit fcea3a0877
5 changed files with 16 additions and 2 deletions

View File

@@ -525,7 +525,7 @@ void ScrobblingAPI20::Scrobble(const Song &song) {
if (app_->scrobbler()->IsOffline()) return;
if (!IsAuthenticated()) {
emit ErrorMessage(tr("Scrobbler %1 is not authenticated!").arg(name_));
if (app_->scrobbler()->ShowAuthError()) { emit ErrorMessage(tr("Scrobbler %1 is not authenticated!").arg(name_)); }
return;
}