From dd318e5865854e1428e3451038a0d2d4de12cdb0 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Fri, 1 Jan 2010 22:43:53 +0100 Subject: vorbis: added support for copyright metadata --- plugins/vorbis/vorbis.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/vorbis') diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c index 3b73a5f3..1006929f 100644 --- a/plugins/vorbis/vorbis.c +++ b/plugins/vorbis/vorbis.c @@ -98,6 +98,9 @@ update_vorbis_comments (DB_playItem_t *it, vorbis_comment *vc) { else if (!strncasecmp (vc->user_comments[i], "genre=", 6)) { deadbeef->pl_add_meta (it, "genre", vc->user_comments[i] + 6); } + else if (!strncasecmp (vc->user_comments[i], "copyright=", 10)) { + deadbeef->pl_add_meta (it, "copyright", vc->user_comments[i] + 10); + } else if (!strncasecmp (vc->user_comments[i], "replaygain_album_gain=", 22)) { it->replaygain_album_gain = atof (vc->user_comments[i] + 22); } -- cgit v1.2.3