aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-04-17 11:26:44 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-04-17 11:26:44 +0000
commitd4e1159e04f6d67d993d6dd98557776b0015c1e2 (patch)
treea2ad3dc404b3aec9047740f27455b988ca42c67c /src/plugins
parent479e8cdec11fc40e20ea5e4ea410489e5a695495 (diff)
downloadqmmp-d4e1159e04f6d67d993d6dd98557776b0015c1e2.tar.gz
qmmp-d4e1159e04f6d67d993d6dd98557776b0015c1e2.tar.bz2
qmmp-d4e1159e04f6d67d993d6dd98557776b0015c1e2.zip
scrobbler: fixed session check
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6246 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/General/scrobbler/scrobbler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.cpp b/src/plugins/General/scrobbler/scrobbler.cpp
index a9dcd4818..bcee919cf 100644
--- a/src/plugins/General/scrobbler/scrobbler.cpp
+++ b/src/plugins/General/scrobbler/scrobbler.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010-2015 by Ilya Kotov *
+ * Copyright (C) 2010-2016 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -459,8 +459,7 @@ void ScrobblerAuth::checkSession(const QString &session)
QMap <QString, QString> params;
params.insert("api_key", API_KEY);
params.insert("sk", session);
- params.insert("method", "user.getRecommendedArtists");
- params.insert("limit", "1");
+ params.insert("method", "user.getInfo");
QUrl url(m_scrobblerUrl);
url.setPort(m_scrobblerUrl.startsWith("https") ? 443 : 80);