Add option to prefer album artist when sending scrobbles

Fixes #274
This commit is contained in:
Jonas Kvinge
2019-10-19 02:56:23 +02:00
parent 5844616ea8
commit e3a4cf1cf5
7 changed files with 27 additions and 6 deletions

View File

@@ -84,6 +84,7 @@ void ScrobblerSettingsPage::Load() {
ui_->checkbox_love_button->setChecked(scrobbler_->LoveButton());
ui_->checkbox_offline->setChecked(scrobbler_->IsOffline());
ui_->spinbox_submit->setValue(scrobbler_->SubmitDelay());
ui_->checkbox_albumartist->setChecked(scrobbler_->PreferAlbumArtist());
ui_->checkbox_lastfm_enable->setChecked(lastfmscrobbler_->IsEnabled());
ui_->checkbox_lastfm_https->setChecked(lastfmscrobbler_->IsUseHTTPS());
@@ -108,6 +109,7 @@ void ScrobblerSettingsPage::Save() {
s.setValue("love_button", ui_->checkbox_love_button->isChecked());
s.setValue("offline", ui_->checkbox_offline->isChecked());
s.setValue("submit", ui_->spinbox_submit->value());
s.setValue("albumartist", ui_->checkbox_albumartist->isChecked());
s.endGroup();
s.beginGroup(LastFMScrobbler::kSettingsGroup);