myMPD
Internal API documentation
|
Embedded image functions for FLAC. More...
#include "dist/sds/sds.h"
#include <stdbool.h>
Go to the source code of this file.
Functions | |
bool | handle_coverextract_flac (sds cachedir, const char *uri, const char *media_file, sds *binary, bool is_ogg, bool covercache, int offset) |
Embedded image functions for FLAC.
bool handle_coverextract_flac | ( | sds | cachedir, |
const char * | uri, | ||
const char * | media_file, | ||
sds * | binary, | ||
bool | is_ogg, | ||
bool | covercache, | ||
int | offset | ||
) |
Extracts albumart from vorbis 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 |
is_ogg | true if it is a ogg file, false if it is a flac file |
covercache | true = covercache is enabled |
offset | number of embedded image to extract |