diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-05 16:08:16 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-05 16:08:16 +0200 |
commit | 65d8f6b0a9a8334bbd46843216fbdf96a02d6e50 (patch) | |
tree | 7798ccdf341d1ec852c2cf44f35a07821a973316 /plugins/flac | |
parent | 3f2e3471d49abd1db57709a119a341c2a8a64204 (diff) |
added tag type metadata support to flac plugin
Diffstat (limited to 'plugins/flac')
-rw-r--r-- | plugins/flac/flac.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c index 44db4c22..fad3be29 100644 --- a/plugins/flac/flac.c +++ b/plugins/flac/flac.c @@ -566,6 +566,7 @@ cflac_init_metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__Str if (!title_added) { deadbeef->pl_add_meta (it, "title", NULL); } + deadbeef->pl_add_meta (it, "tags", "VorbisComments"); } } @@ -726,7 +727,6 @@ cflac_insert_fail: return NULL; } - static const char *metainfo[] = { "ARTIST", "artist", "TITLE", "title", @@ -790,6 +790,8 @@ cflac_read_metadata (DB_playItem_t *it) { FLAC__metadata_iterator_delete (iter); err = 0; + deadbeef->pl_add_meta (it, "title", NULL); + deadbeef->pl_add_meta (it, "tags", "VorbisComments"); error: if (chain) { FLAC__metadata_chain_delete (chain); |