Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 66528
Collapse All | Expand All

(-)muine-0.6.3/libmuine/metadata.c (-2 / +7 lines)
Lines 666-673 Link Here
666
	escaped = gnome_vfs_escape_path_string (filename);
666
	escaped = gnome_vfs_escape_path_string (filename);
667
667
668
	info = gnome_vfs_file_info_new ();
668
	info = gnome_vfs_file_info_new ();
669
	gnome_vfs_get_file_info (escaped, info,
669
670
				 GNOME_VFS_FILE_INFO_GET_MIME_TYPE | GNOME_VFS_FILE_INFO_FOLLOW_LINKS);
670
	if (gnome_vfs_get_file_info (escaped, info,
671
				 GNOME_VFS_FILE_INFO_GET_MIME_TYPE | GNOME_VFS_FILE_INFO_FOLLOW_LINKS) != GNOME_VFS_OK) {
672
		gnome_vfs_file_info_unref (info);
673
		g_free (escaped);
674
		return NULL;
675
	}
671
676
672
	if (!strcmp (info->mime_type, "audio/x-mp3") ||
677
	if (!strcmp (info->mime_type, "audio/x-mp3") ||
673
	    !strcmp (info->mime_type, "audio/mpeg"))
678
	    !strcmp (info->mime_type, "audio/mpeg"))

Return to bug 66528