Make scrobble submit delay configurable

This commit is contained in:
Jonas Kvinge
2018-12-25 22:58:34 +01:00
parent 7c3f3da07d
commit bab01291b1
8 changed files with 77 additions and 11 deletions

View File

@@ -47,6 +47,7 @@ class AudioScrobbler : public QObject {
bool IsEnabled() const { return enabled_; }
bool IsOffline() const { return offline_; }
bool ScrobbleButton() const { return scrobble_button_; }
int SubmitDelay() const { return submit_delay_; }
void UpdateNowPlaying(const Song &song);
void Scrobble(const Song &song, const int scrobble_point);
@@ -82,6 +83,7 @@ class AudioScrobbler : public QObject {
bool enabled_;
bool offline_;
bool scrobble_button_;
int submit_delay_;
};