aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobbler2.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-02-21 16:32:47 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-02-21 16:32:47 +0000
commit5b10a56f8568935ac80d9a6c72289ceab2512975 (patch)
tree41dc056f805020f4296bb547ede4ea7c53f3f4d2 /src/plugins/General/scrobbler/scrobbler2.h
parent6836e3e28cab63a3bdfc743106de3e339283cb91 (diff)
downloadqmmp-5b10a56f8568935ac80d9a6c72289ceab2512975.tar.gz
qmmp-5b10a56f8568935ac80d9a6c72289ceab2512975.tar.bz2
qmmp-5b10a56f8568935ac80d9a6c72289ceab2512975.zip
fixed scrobble conditions (patch by Ferdinand Vesely)(Closes issue 428)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2064 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler/scrobbler2.h')
-rw-r--r--src/plugins/General/scrobbler/scrobbler2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler2.h b/src/plugins/General/scrobbler/scrobbler2.h
index 36dc928c6..91ae10b1f 100644
--- a/src/plugins/General/scrobbler/scrobbler2.h
+++ b/src/plugins/General/scrobbler/scrobbler2.h
@@ -50,6 +50,8 @@ private slots:
void submit();
private:
+ enum { MIN_SONG_LENGTH = 30 };
+
void sendNotification(const SongInfo &info);
void syncCache();
uint m_start_ts;