diff options
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/General/scrobbler/scrobbler2.cpp | 2 | ||||
| -rw-r--r-- | src/plugins/General/scrobbler/scrobbler2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler2.cpp b/src/plugins/General/scrobbler/scrobbler2.cpp index e0fa14a9b..d542eac1a 100644 --- a/src/plugins/General/scrobbler/scrobbler2.cpp +++ b/src/plugins/General/scrobbler/scrobbler2.cpp @@ -281,7 +281,7 @@ void Scrobbler2::processResponse(QNetworkReply *reply) } else if(error_code == "11" || error_code == "16" || error_code.isEmpty()) //unavailable { - submit(); + QTimer::singleShot(120000, this, SLOT(submit())); } else { diff --git a/src/plugins/General/scrobbler/scrobbler2.h b/src/plugins/General/scrobbler/scrobbler2.h index b081b135e..36dc928c6 100644 --- a/src/plugins/General/scrobbler/scrobbler2.h +++ b/src/plugins/General/scrobbler/scrobbler2.h @@ -47,9 +47,9 @@ private slots: void setupProxy(); void getToken(); void getSession(); + void submit(); private: - void submit(); void sendNotification(const SongInfo &info); void syncCache(); uint m_start_ts; |
