tracker r3163 - in trunk: . src/tracker-extract
- From: mottela svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r3163 - in trunk: . src/tracker-extract
- Date: Thu, 2 Apr 2009 01:15:56 +0000 (UTC)
Author: mottela
Date: Thu Apr 2 01:15:56 2009
New Revision: 3163
URL: http://svn.gnome.org/viewvc/tracker?rev=3163&view=rev
Log:
Additional checks for unknown genres
Modified:
trunk/ChangeLog
trunk/src/tracker-extract/tracker-extract-mp3.c
Modified: trunk/src/tracker-extract/tracker-extract-mp3.c
==============================================================================
--- trunk/src/tracker-extract/tracker-extract-mp3.c (original)
+++ trunk/src/tracker-extract/tracker-extract-mp3.c Thu Apr 2 01:15:56 2009
@@ -794,6 +794,10 @@
g_free (word);
word = g_strdup (genre_names[genre]);
}
+
+ if (strcasecmp (word, "unknown")==0) {
+ break;
+ }
}
g_hash_table_insert (metadata,
@@ -1024,6 +1028,10 @@
g_free (word);
word = g_strdup (genre_names[genre]);
}
+
+ if (strcasecmp (word, "unknown")==0) {
+ break;
+ }
}
g_hash_table_insert (metadata,
@@ -1232,6 +1240,10 @@
g_free (word);
word = g_strdup (genre_names[genre]);
}
+
+ if (strcasecmp (word, "unknown")==0) {
+ break;
+ }
}
g_hash_table_insert (metadata,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]