Simple ID3 Meta Data API which supports ID3 V2: We only support the "TALB", "TOPE", "TIT2", "TCON" tags.
More...
#include <MetaDataID3.h>
|
| | MetaDataID3V2 ()=default |
| |
| bool | begin () |
| | (re)starts the processing
|
| |
| void | end () |
| | Ends the processing and releases the memory.
|
| |
| ID3v2FrameString | frameHeader () |
| | provides the current frame header
|
| |
| ID3v2 | header () |
| | provides the ID3v2 header
|
| |
| bool | isProcessed () |
| | returns true if the tag has been provided
|
| |
| bool | resize (size_t size) |
| | Defines the result buffer size (default is 256);.
|
| |
| void | setCallback (void(*fn)(MetaDataType info, const char *str, int len)) |
| |
| size_t | write (const uint8_t *data, size_t len) |
| | provide the (partial) data which might contain the meta data
|
| |
|
| uint32_t | calcSize (uint8_t chars[4]) |
| |
| bool | encodingIsSupported () |
| | For the time beeing we support only ASCII and UTF8.
|
| |
| int | findTag (const char *tag, const char *str, size_t len) |
| | find the tag position in the string - if not found we return -1;
|
| |
| bool | isAscii (int l) |
| | Make sure that the result is a valid ASCII string.
|
| |
| int | isCharAscii (int ch) |
| |
| void | processnotifyAudioChange () |
| | executes the callbacks
|
| |
| void | processPartialTagAtTail (const uint8_t *data, size_t len) |
| | We have the beginning of the metadata and need to process the remainder.
|
| |
| void | processTagNotFound (const uint8_t *data, size_t len) |
| | try to find the metatdata tag in the provided data
|
| |
| int | strpos (char *str, const char *target) |
| |
Simple ID3 Meta Data API which supports ID3 V2: We only support the "TALB", "TOPE", "TIT2", "TCON" tags.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ MetaDataID3V2()
◆ begin()
(re)starts the processing
◆ calcSize()
| uint32_t calcSize |
( |
uint8_t |
chars[4] | ) |
|
|
inlineprotected |
◆ encodingIsSupported()
| bool encodingIsSupported |
( |
| ) |
|
|
inlineprotected |
For the time beeing we support only ASCII and UTF8.
◆ end()
Ends the processing and releases the memory.
◆ findTag()
| int findTag |
( |
const char * |
tag, |
|
|
const char * |
str, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotectedinherited |
find the tag position in the string - if not found we return -1;
◆ frameHeader()
provides the current frame header
◆ header()
provides the ID3v2 header
◆ isAscii()
Make sure that the result is a valid ASCII string.
◆ isCharAscii()
| int isCharAscii |
( |
int |
ch | ) |
|
|
inlineprotected |
◆ isProcessed()
returns true if the tag has been provided
◆ processnotifyAudioChange()
| void processnotifyAudioChange |
( |
| ) |
|
|
inlineprotected |
◆ processPartialTagAtTail()
| void processPartialTagAtTail |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotected |
We have the beginning of the metadata and need to process the remainder.
◆ processTagNotFound()
| void processTagNotFound |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotected |
try to find the metatdata tag in the provided data
◆ resize()
| bool resize |
( |
size_t |
size | ) |
|
|
inline |
Defines the result buffer size (default is 256);.
◆ setCallback()
| void setCallback |
( |
void(*)(MetaDataType info, const char *str, int len) |
fn | ) |
|
|
inlineinherited |
◆ strpos()
| int strpos |
( |
char * |
str, |
|
|
const char * |
target |
|
) |
| |
|
inlineprotected |
◆ write()
| size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inline |
provide the (partial) data which might contain the meta data
◆ actual_tag
◆ armed
◆ callback
| void(* callback) (MetaDataType info, const char *title, int len) |
|
protectedinherited |
◆ end_len
◆ frame_header
◆ result
◆ result_size
◆ status
◆ tag_active
◆ tag_processed
| bool tag_processed = false |
|
protected |
◆ tagv2
◆ total_len
◆ use_bytes_of_next_write
| int use_bytes_of_next_write = 0 |
|
protected |
The documentation for this class was generated from the following file: