myMPD
Internal API documentation
Loading...
Searching...
No Matches
lyrics_flac.c File Reference

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>
Include dependency graph for lyrics_flac.c:

Functions

void lyricsextract_flac (struct t_list *extracted, sds media_file, bool is_ogg, const char *comment_name, bool synced)
 

Detailed Description

Read lyrics from vorbis comments.

Function Documentation

◆ lyricsextract_flac()

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

Parameters
extractedt_list struct to append found lyrics
media_fileabsolute filename to read lyrics from
is_oggtrue if is a ogg file else false (flac)
comment_namename of vorbis comment with the lyrics
syncedtrue for synced lyrics else false