|
myMPD
Internal API documentation
|
Embedded image functions for ID3. More...
#include "compile_time.h"#include "src/webserver/albumart_id3.h"#include "src/lib/cache/cache_disk_images.h"#include "src/lib/log.h"#include "src/lib/mimetype.h"#include "src/lib/sds_extras.h"#include <id3tag.h>#include <stdlib.h>
Functions | |
| bool | handle_coverextract_id3 (sds cachedir, const char *uri, const char *media_file, sds *binary, bool covercache, int offset) |
Embedded image functions for ID3.
| bool handle_coverextract_id3 | ( | sds | cachedir, |
| const char * | uri, | ||
| const char * | media_file, | ||
| sds * | binary, | ||
| bool | covercache, | ||
| int | offset | ||
| ) |
Extracts albumart from id3v2 tagged files
| cachedir | covercache directory |
| uri | song uri |
| media_file | full path to the song |
| binary | pointer to already allocates sds string to hold the image |
| covercache | true = covercache is enabled |
| offset | number of embedded image to extract |