From 88660c83ee2af6bc6999c401280006c134c343a7 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 5 Apr 2009 12:55:26 +0000 Subject: 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 --- src/plugins/General/scrobbler/scrobbler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/General') 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); -- cgit v1.2.3-13-gbd6f