summaryrefslogtreecommitdiff
path: root/plugins/flac
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-27 17:18:23 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-27 17:18:23 +0100
commit3ae7e20d7adee45c37bf66ec428ea0ef3226f986 (patch)
tree644258f1442a2ae1dcb711d64b1e1f770eefe548 /plugins/flac
parent6a0f3535d169b0f3829eb05708c3ca789f8ccbea (diff)
added more frame types to vorbis and apev2 loaders
Diffstat (limited to 'plugins/flac')
-rw-r--r--plugins/flac/flac.c20
1 files changed, 19 insertions, 1 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c
index 173df64c..0c6d232f 100644
--- a/plugins/flac/flac.c
+++ b/plugins/flac/flac.c
@@ -520,7 +520,25 @@ cflac_init_metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__Str
else if (!strncasecmp (s, "COMMENT=", 8)) {
deadbeef->pl_add_meta (it, "comment", s + 8);
}
- if (!strncasecmp (s, "CUESHEET=", 9)) {
+ else if (!strncasecmp (s, "PERFORMER=", 10)) {
+ deadbeef->pl_add_meta (it, "performer", s + 10);
+ }
+ else if (!strncasecmp (s, "ENSEMBLE=", 9)) {
+ deadbeef->pl_add_meta (it, "band", s + 9);
+ }
+ else if (!strncasecmp (s, "COMPOSER=", 9)) {
+ deadbeef->pl_add_meta (it, "composer", s + 9);
+ }
+ else if (!strncasecmp (s, "ENCODED-BY=", 11)) {
+ deadbeef->pl_add_meta (it, "vendor", s + 11);
+ }
+ else if (!strncasecmp (s, "DISCNUMBER=", 11)) {
+ deadbeef->pl_add_meta (it, "disc", s + 11);
+ }
+ else if (!strncasecmp (s, "COPYRIGHT=", 10)) {
+ deadbeef->pl_add_meta (it, "copyright", s + 10);
+ }
+ else if (!strncasecmp (s, "CUESHEET=", 9)) {
deadbeef->pl_add_meta (it, "cuesheet", s + 9);
// info->last = deadbeef->pl_insert_cue_from_buffer (info->after, info->fname, s+9, c->length-9, &plugin, "FLAC", info->totalsamples, info->samplerate);
}