GNOME Bugzilla – Bug 642014
Tracker cannot index optical data disc's data
Last modified: 2011-02-15 09:34:18 UTC
tracker version : 0.9.37 os : ubuntu 10.10 glib : 2.6.26 tracker-miner-fs cannot index optical data disc's data. disc has a lot of mp3, wav, and jpeg files. Tracker uses g_content_types_guess_for_tree() functions to know disc's characteristics. But, g_content_types_guess_for_tree() for optical disc just return NULL. So, tracker don't start to index disc's contents.
Hi, Just to confirm, is IndexOpticalDiscs set to true in your config? By default it should be disabled.
Hi, Yes, I only changed IndexOpticalDiscs value to TRUE in tracker-miner-fs.cfg. Thank you. Simon.
Created attachment 180824 [details] [review] patch This patch uses g_mount_guess_content_type() to find out the content type, removing the need for that if (!content_type) is_blank = TRUE heuristic, with this patch it detects data CDs correctly, I've also retested with blank DVDs ,audio CDs and usb sticks. I don't have DVD movies around but I'm pretty sure that it'll be handled just fine by this function.
Pushed Carlos' patch after reviewing it. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.