aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General')
-rw-r--r--src/plugins/General/scrobbler/scrobbler.cpp3
-rw-r--r--src/plugins/General/scrobbler/scrobbler.h6
-rw-r--r--src/plugins/General/scrobbler/scrobbler2.h2
3 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.cpp b/src/plugins/General/scrobbler/scrobbler.cpp
index 9cb824d81..82eed0cc7 100644
--- a/src/plugins/General/scrobbler/scrobbler.cpp
+++ b/src/plugins/General/scrobbler/scrobbler.cpp
@@ -140,7 +140,6 @@ void Scrobbler::setState(Qmmp::State state)
m_songCache << m_song;
syncCache();
}
-
m_song.clear();
if (m_songCache.isEmpty())
break;
@@ -374,7 +373,7 @@ void Scrobbler::submit()
void Scrobbler::sendNotification(const SongInfo &info)
{
- qDebug("Scrobbler[%s] sending notification", qPrintable(m_name));
+ qDebug("Scrobbler[%s]: sending notification", qPrintable(m_name));
QString body = QString("s=%1").arg(m_session);
body += QString("&a=%1&t=%2&b=%3&l=%4&n=%5&m=")
.arg(info.metaData(Qmmp::ARTIST))
diff --git a/src/plugins/General/scrobbler/scrobbler.h b/src/plugins/General/scrobbler/scrobbler.h
index 0baaeed1b..c78d8dbad 100644
--- a/src/plugins/General/scrobbler/scrobbler.h
+++ b/src/plugins/General/scrobbler/scrobbler.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2012 by Ilya Kotov *
+ * Copyright (C) 2008-2013 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -32,7 +32,6 @@ class SoundCore;
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
*/
-
class SongInfo
{
public:
@@ -63,6 +62,9 @@ private:
};
+/**
+ @author Ilya Kotov <forkotov02@hotmail.ru>
+*/
class Scrobbler : public QObject
{
Q_OBJECT
diff --git a/src/plugins/General/scrobbler/scrobbler2.h b/src/plugins/General/scrobbler/scrobbler2.h
index d0a1e4f11..ebc804cb0 100644
--- a/src/plugins/General/scrobbler/scrobbler2.h
+++ b/src/plugins/General/scrobbler/scrobbler2.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010 by Ilya Kotov *
+ * Copyright (C) 2010-2013 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *