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")) |