diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-08-20 12:06:47 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-08-20 12:06:47 +0000 |
| commit | 3df482395b31866da7b91a25360ef952ec0a90aa (patch) | |
| tree | 59c2c4b97cec66b040b7b5d9dd5d39592474c97a /lib/downloader.h | |
| parent | 75719b8c81a6fa169f42bfba0d18716802effe39 (diff) | |
| download | qmmp-3df482395b31866da7b91a25360ef952ec0a90aa.tar.gz qmmp-3df482395b31866da7b91a25360ef952ec0a90aa.tar.bz2 qmmp-3df482395b31866da7b91a25360ef952ec0a90aa.zip | |
shoutcast metadata support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@102 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'lib/downloader.h')
| -rw-r--r-- | lib/downloader.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/downloader.h b/lib/downloader.h index cdbc7b977..308fca83a 100644 --- a/lib/downloader.h +++ b/lib/downloader.h @@ -38,6 +38,8 @@ struct Stream QString content_type; bool aborted; QMap <QString, QString> header; + bool icy_meta_data; + int icy_metaint; }; class Downloader : public QThread @@ -56,10 +58,13 @@ public: int bytesAvailable(); private: + qint64 readBuffer(char* data, qint64 maxlen); + void readICYMetaData(); CURL *m_handle; QMutex m_mutex; Stream m_stream; QString m_url; + int m_metacount; protected: void run(); |
