From 9a450ceffb4b9d3ef1f86633439dfb2dcf7894e7 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 18 Apr 2016 18:34:21 +0000 Subject: added feature to scrobble http streams (#845) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6250 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/scrobbler/scrobbler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 41a69c53c..172c6b188 100644 --- a/src/plugins/General/scrobbler/scrobbler.h +++ b/src/plugins/General/scrobbler/scrobbler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010-2015 by Ilya Kotov * + * Copyright (C) 2010-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -70,9 +70,7 @@ private: enum { MIN_SONG_LENGTH = 30 }; void sendNotification(const SongInfo &info); - uint m_start_ts; SongInfo m_song; - Qmmp::State m_state; QList m_cachedSongs; QByteArray m_ua; int m_submitedSongs; @@ -83,6 +81,8 @@ private: QTime *m_time; ScrobblerCache *m_cache; QString m_scrobblerUrl, m_name; + Qmmp::State m_previousState; + int m_elapsed; }; /** -- cgit v1.2.3-13-gbd6f