DataSources: Implemented ID3 tag skipping for HTTPSDataSources.
This commit is contained in:
@ -41,6 +41,8 @@ private:
|
||||
WiFiClient* _stream = NULL;
|
||||
HTTPClientWrapper* _http = NULL;
|
||||
uint32_t _position;
|
||||
String _url;
|
||||
void _init(String url, uint32_t offset);
|
||||
public:
|
||||
HTTPSDataSource(String url, uint32_t offset=0);
|
||||
~HTTPSDataSource();
|
||||
@ -51,4 +53,6 @@ public:
|
||||
size_t size();
|
||||
void close();
|
||||
bool usable();
|
||||
int peek(int offset=0);
|
||||
void skip_id3_tag();
|
||||
};
|
||||
|
@ -34,4 +34,5 @@ public:
|
||||
uint32_t getSize();
|
||||
String readUntil(String sep);
|
||||
String readLine();
|
||||
int peek(int offset=0);
|
||||
};
|
||||
|
Reference in New Issue
Block a user