From ae72f1771205127d3faa30fc52fd8f77f3f16a65 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 21 Jan 2013 19:03:47 +0000 Subject: fixed typo, updated copyrights git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3183 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/scrobbler/scrobbler.cpp | 3 +-- src/plugins/General/scrobbler/scrobbler.h | 6 ++++-- src/plugins/General/scrobbler/scrobbler2.h | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src') 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 */ - class SongInfo { public: @@ -63,6 +62,9 @@ private: }; +/** + @author Ilya Kotov +*/ 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 * -- cgit v1.2.3-13-gbd6f