Commit 9ac573b7 authored by Philip Van Hoof's avatar Philip Van Hoof Committed by Philip Van Hoof

Bugfix when album art was extracted from an embedded MP3, the copy to

2009-01-30  Philip Van Hoof  <philip@codeminded.be>

	* src/tracker-extract/tracker-albumart.c: Bugfix when album art 
	was extracted from an embedded MP3, the copy to .mediaartlocal 
	was not requested in case of removable media.


svn path=/trunk/; revision=2867
parent 5dc8a13c
2009-01-30 Philip Van Hoof <philip@codeminded.be>
* src/tracker-extract/tracker-albumart.c: Bugfix when album art
was extracted from an embedded MP3, the copy to .mediaartlocal
was not requested in case of removable media.
2009-01-29 Mikael Ottela <mikael.ottela@ixonos.com>
* src/tracker-extract/tracker-extract-mp3.c: Don't fail if we
......
......@@ -259,11 +259,14 @@ perhaps_copy_to_local (const gchar *filename, const gchar *local_uri)
GList *removable_roots, *l;
gboolean on_removable_device = FALSE;
guint flen;
gchar *asuri;
if (!filename)
return;
tracker_thumbnailer_get_file_thumbnail (filename, "image/jpeg");
asuri = g_strdup_printf ("file://", filename);
tracker_thumbnailer_get_file_thumbnail (asuri, "image/jpeg");
g_free (asuri);
if (!local_uri)
return;
......@@ -720,9 +723,8 @@ tracker_process_albumart (const unsigned char *buffer,
album,
filename);
lcopied = retval;
lcopied = !retval;
} else {
#endif /* HAVE_GDK_PIXBUF */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment