Author: holindho
Date: 2008-03-07 04:41:00 -0700 (Fri, 07 Mar 2008)
New Revision: 6543

Modified:
   Extractor/src/plugins/oggextractor.c
Log:
extract track and disc numbers from ogg


Modified: Extractor/src/plugins/oggextractor.c
===================================================================
--- Extractor/src/plugins/oggextractor.c        2008-03-07 11:32:10 UTC (rev 
6542)
+++ Extractor/src/plugins/oggextractor.c        2008-03-07 11:41:00 UTC (rev 
6543)
@@ -124,6 +124,10 @@
     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 @@
     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,



_______________________________________________
GNUnet-SVN mailing list
GNUnet-SVN@gnu.org
http://lists.gnu.org/mailman/listinfo/gnunet-svn

Reply via email to