aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-21 19:03:47 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-21 19:03:47 +0000
commitae72f1771205127d3faa30fc52fd8f77f3f16a65 (patch)
tree501d2ca8903b128b7992bd2085bf54c582888a18 /src
parentd370ae8951e89fc41260636fb5e2993858945c7c (diff)
downloadqmmp-ae72f1771205127d3faa30fc52fd8f77f3f16a65.tar.gz
qmmp-ae72f1771205127d3faa30fc52fd8f77f3f16a65.tar.bz2
qmmp-ae72f1771205127d3faa30fc52fd8f77f3f16a65.zip
fixed typo, updated copyrights
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3183 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-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 *