aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobbler.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-04-18 18:34:21 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-04-18 18:34:21 +0000
commit9a450ceffb4b9d3ef1f86633439dfb2dcf7894e7 (patch)
tree8b5f27da29afd99f30a7198aa4ceef56918d87bb /src/plugins/General/scrobbler/scrobbler.h
parentd4e1159e04f6d67d993d6dd98557776b0015c1e2 (diff)
downloadqmmp-9a450ceffb4b9d3ef1f86633439dfb2dcf7894e7.tar.gz
qmmp-9a450ceffb4b9d3ef1f86633439dfb2dcf7894e7.tar.bz2
qmmp-9a450ceffb4b9d3ef1f86633439dfb2dcf7894e7.zip
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
Diffstat (limited to 'src/plugins/General/scrobbler/scrobbler.h')
-rw-r--r--src/plugins/General/scrobbler/scrobbler.h6
1 files changed, 3 insertions, 3 deletions
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 <SongInfo> 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;
};
/**