tracker r2396 - trunk/src/tracker-extract



Author: pvanhoof
Date: Mon Oct 20 11:40:28 2008
New Revision: 2396
URL: http://svn.gnome.org/viewvc/tracker?rev=2396&view=rev

Log:
Fix

Modified:
   trunk/src/tracker-extract/tracker-albumart.c

Modified: trunk/src/tracker-extract/tracker-albumart.c
==============================================================================
--- trunk/src/tracker-extract/tracker-albumart.c	(original)
+++ trunk/src/tracker-extract/tracker-albumart.c	Mon Oct 20 11:40:28 2008
@@ -88,6 +88,8 @@
 			for (filen = g_dir_read_name (dir); filen; filen = g_dir_read_name (dir))
 				count++;
 
+			g_dir_rewind  (dir);
+
 			if ((trackcnt != -1 && trackcnt < count + 3 && trackcnt > count - 3) || (trackcnt == -1 && count > 8 && count < 50)) {
 				gchar * found = NULL;
 



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