Add Spotify to scrobbler
This commit is contained in:
parent
8604a39d94
commit
07e295776b
@ -70,6 +70,7 @@ void ScrobblerSettingsService::ReloadSettings() {
|
||||
<< Song::Source::Tidal
|
||||
<< Song::Source::Subsonic
|
||||
<< Song::Source::Qobuz
|
||||
<< Song::Source::Spotify
|
||||
<< Song::Source::SomaFM
|
||||
<< Song::Source::RadioParadise;
|
||||
}
|
||||
|
@ -109,6 +109,7 @@ void ScrobblerSettingsPage::Load() {
|
||||
ui_->checkbox_source_subsonic->setChecked(scrobbler_->sources().contains(Song::Source::Subsonic));
|
||||
ui_->checkbox_source_tidal->setChecked(scrobbler_->sources().contains(Song::Source::Tidal));
|
||||
ui_->checkbox_source_qobuz->setChecked(scrobbler_->sources().contains(Song::Source::Qobuz));
|
||||
ui_->checkbox_source_spotify->setChecked(scrobbler_->sources().contains(Song::Source::Spotify));
|
||||
ui_->checkbox_source_stream->setChecked(scrobbler_->sources().contains(Song::Source::Stream));
|
||||
ui_->checkbox_source_somafm->setChecked(scrobbler_->sources().contains(Song::Source::SomaFM));
|
||||
ui_->checkbox_source_radioparadise->setChecked(scrobbler_->sources().contains(Song::Source::RadioParadise));
|
||||
@ -152,6 +153,7 @@ void ScrobblerSettingsPage::Save() {
|
||||
if (ui_->checkbox_source_subsonic->isChecked()) sources << Song::TextForSource(Song::Source::Subsonic);
|
||||
if (ui_->checkbox_source_tidal->isChecked()) sources << Song::TextForSource(Song::Source::Tidal);
|
||||
if (ui_->checkbox_source_qobuz->isChecked()) sources << Song::TextForSource(Song::Source::Qobuz);
|
||||
if (ui_->checkbox_source_spotify->isChecked()) sources << Song::TextForSource(Song::Source::Spotify);
|
||||
if (ui_->checkbox_source_stream->isChecked()) sources << Song::TextForSource(Song::Source::Stream);
|
||||
if (ui_->checkbox_source_somafm->isChecked()) sources << Song::TextForSource(Song::Source::SomaFM);
|
||||
if (ui_->checkbox_source_radioparadise->isChecked()) sources << Song::TextForSource(Song::Source::RadioParadise);
|
||||
|
@ -180,6 +180,27 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QCheckBox" name="checkbox_source_somafm">
|
||||
<property name="text">
|
||||
<string>SomaFM</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<widget class="QCheckBox" name="checkbox_source_radioparadise">
|
||||
<property name="text">
|
||||
<string>Radio Paradise</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QCheckBox" name="checkbox_source_spotify">
|
||||
<property name="text">
|
||||
<string>Spotify</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QCheckBox" name="checkbox_source_cdda">
|
||||
<property name="text">
|
||||
@ -187,13 +208,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QCheckBox" name="checkbox_source_somafm">
|
||||
<property name="text">
|
||||
<string>SomaFM</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QCheckBox" name="checkbox_source_stream">
|
||||
<property name="text">
|
||||
@ -201,13 +215,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QCheckBox" name="checkbox_source_radioparadise">
|
||||
<property name="text">
|
||||
<string>Radio Paradise</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QCheckBox" name="checkbox_source_unknown">
|
||||
<property name="text">
|
||||
@ -426,6 +433,7 @@
|
||||
<tabstop>spinbox_submit</tabstop>
|
||||
<tabstop>checkbox_albumartist</tabstop>
|
||||
<tabstop>checkbox_show_error_dialog</tabstop>
|
||||
<tabstop>checkbox_strip_remastered</tabstop>
|
||||
<tabstop>checkbox_source_collection</tabstop>
|
||||
<tabstop>checkbox_source_local</tabstop>
|
||||
<tabstop>checkbox_source_device</tabstop>
|
||||
@ -435,6 +443,7 @@
|
||||
<tabstop>checkbox_source_subsonic</tabstop>
|
||||
<tabstop>checkbox_source_tidal</tabstop>
|
||||
<tabstop>checkbox_source_qobuz</tabstop>
|
||||
<tabstop>checkbox_source_spotify</tabstop>
|
||||
<tabstop>checkbox_source_somafm</tabstop>
|
||||
<tabstop>checkbox_source_radioparadise</tabstop>
|
||||
<tabstop>checkbox_lastfm_enable</tabstop>
|
||||
|
Loading…
x
Reference in New Issue
Block a user