From 5b10a56f8568935ac80d9a6c72289ceab2512975 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 21 Feb 2011 16:32:47 +0000 Subject: 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 --- src/plugins/General/scrobbler/scrobbler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/General/scrobbler/scrobbler.h') diff --git a/src/plugins/General/scrobbler/scrobbler.h b/src/plugins/General/scrobbler/scrobbler.h index 0e733321d..da98a5ba6 100644 --- a/src/plugins/General/scrobbler/scrobbler.h +++ b/src/plugins/General/scrobbler/scrobbler.h @@ -82,6 +82,8 @@ private slots: void handshake(); private: + enum { MIN_SONG_LENGTH = 30 }; + void submit(); void sendNotification(const SongInfo &info); bool isReady(); -- cgit v1.2.3-13-gbd6f