[tracker] Remove default value for title from mp3 extractor



commit ff54bc0acfc249655dbb3dfa1830f1b2cccb1245
Author: Mikael Ottela <mikael ottela ixonos com>
Date:   Thu Jan 14 11:35:40 2010 +0200

    Remove default value for title from mp3 extractor

 src/tracker-extract/tracker-extract-mp3.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index 37f0654..1dfe101 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -1927,17 +1927,6 @@ extract_mp3 (const gchar          *uri,
 	audio_offset = parse_id3v2 (buffer, buffer_size, &md.id3v1, uri, metadata, &md);
 
 	md.title = tracker_coalesce (4, md.id3v24.title2, md.id3v23.title2, md.id3v22.title2, md.id3v1.title);
-	if (!md.title) {
-		gchar *p;
-
-		/* use filename */
-		md.title = g_filename_display_basename (filename);
-
-		p = strrchr (md.title, '.');
-		if (p) {
-			*p = '\0';
-		}
-	}
 
 	md.performer = tracker_coalesce (7,
 	                                 md.id3v24.performer1, md.id3v24.performer2,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]