aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-04-05 12:55:26 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-04-05 12:55:26 +0000
commit88660c83ee2af6bc6999c401280006c134c343a7 (patch)
treeecd867f3afee33c6cb6e2934e29ce28c31f81350 /src
parent5531be1e4e7a5988f5ee2cb1c78a8996acfe7789 (diff)
downloadqmmp-88660c83ee2af6bc6999c401280006c134c343a7.tar.gz
qmmp-88660c83ee2af6bc6999c401280006c134c343a7.tar.bz2
qmmp-88660c83ee2af6bc6999c401280006c134c343a7.zip
scrobbler plugin: fixed now-playing notification
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@892 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/plugins/General/scrobbler/scrobbler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.cpp b/src/plugins/General/scrobbler/scrobbler.cpp
index d73f85fea..b6df53a5f 100644
--- a/src/plugins/General/scrobbler/scrobbler.cpp
+++ b/src/plugins/General/scrobbler/scrobbler.cpp
@@ -141,7 +141,6 @@ void Scrobbler::updateMetaData()
&& !metadata.value(Qmmp::ALBUM).contains("="))
{
m_song = SongInfo(metadata, m_core->totalTime()/1000);
-
if (isReady() && m_notificationid == 0)
sendNotification(m_song);
}
@@ -158,6 +157,8 @@ void Scrobbler::processResponse(int id, bool error)
m_submitid = 0;
else if (id == m_handshakeid)
m_handshakeid = 0;
+ else if (id == m_notificationid)
+ m_notificationid = 0;
return;
}
QString str(m_array);