|
myMPD
Internal API documentation
|
Read lyrics from vorbis comments. More...
#include "compile_time.h"#include "src/mympd_api/lyrics_flac.h"#include "src/lib/json/json_print.h"#include "src/lib/log.h"#include "src/lib/sds_extras.h"#include <FLAC/metadata.h>#include <assert.h>#include <string.h>
Functions | |
| void | lyricsextract_flac (struct t_list *extracted, sds media_file, bool is_ogg, const char *comment_name, bool synced) |
Read lyrics from vorbis comments.
| void lyricsextract_flac | ( | struct t_list * | extracted, |
| sds | media_file, | ||
| bool | is_ogg, | ||
| const char * | comment_name, | ||
| bool | synced | ||
| ) |
Extracts unsynced lyrics from a vorbis comment
| extracted | t_list struct to append found lyrics |
| media_file | absolute filename to read lyrics from |
| is_ogg | true if is a ogg file else false (flac) |
| comment_name | name of vorbis comment with the lyrics |
| synced | true for synced lyrics else false |