DataSources: Implemented ID3 tag skipping for HTTPSDataSources.

This commit is contained in:
2019-12-04 06:07:20 +01:00
parent fa208858d9
commit 84530f76fd
4 changed files with 46 additions and 1 deletions

View File

@ -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();
};

View File

@ -34,4 +34,5 @@ public:
uint32_t getSize();
String readUntil(String sep);
String readLine();
int peek(int offset=0);
};