commit 47e38234709ddf395d5f763018eabd0ab684bc24
parent ea4d922a0223977d7fc97a1f61d03da453f62d2e
Author: Heikki Lindholm <holin@iki.fi>
Date: Fri, 7 Mar 2008 11:41:00 +0000
extract track and disc numbers from ogg
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/plugins/oggextractor.c b/src/plugins/oggextractor.c
@@ -124,6 +124,10 @@ libextractor_ogg_extract (const char *filename,
addKeyword (EXTRACTOR_INTERPRET, get_comment (comments, "performer"),
prev);
prev = addKeyword (EXTRACTOR_ALBUM, get_comment (comments, "album"), prev);
+ prev = addKeyword (EXTRACTOR_TRACK_NUMBER,
+ get_comment (comments, "tracknumber"), prev);
+ prev = addKeyword (EXTRACTOR_DISC_NUMBER,
+ get_comment (comments, "discnumber"), prev);
prev =
addKeyword (EXTRACTOR_CONTACT, get_comment (comments, "contact"), prev);
prev = addKeyword (EXTRACTOR_GENRE, get_comment (comments, "genre"), prev);
@@ -138,7 +142,7 @@ libextractor_ogg_extract (const char *filename,
addKeyword (EXTRACTOR_VERSIONNUMBER, get_comment (comments, "version"),
prev);
prev =
- addKeyword (EXTRACTOR_RESOURCE_IDENTIFIER, get_comment (comments, "isrc"),
+ addKeyword (EXTRACTOR_ISRC, get_comment (comments, "isrc"),
prev);
prev =
addKeyword (EXTRACTOR_ORGANIZATION,