GNOME Bugzilla – Bug 329723
On a generic mp3 player, file names with spaces in them do not show up.
Last modified: 2006-02-04 04:22:56 UTC
Please describe the problem: Using a generic usb audio player, which is recognized by hal as such, rhythmbox does not show tracks which have a space in the file name. Steps to reproduce: 1. Insert a usb mp3 player 2. Click on the device source in rb 3. Tracks with spaces in the filenames are missing (in my case, this is every track) Actual results: If started with the -d flag, rhythmbox says this somewhere in the log, for every file with a space in the name: [0x813d290] [rhythmdb_execute_stat_info_cb] rhythmdb.c:1844 (21:30:06): got error on file:///media/usbdisk/Bad%20Religion/The%20Process%20of%20Belief/10.%20Bad%20Religion%20-%20Evangeline.ogg: Could not access file:///media/usbdisk/Bad%20Religion/The%20Process%20of%20Belief/10.%20Bad%20Religion%20-%20Evangeline.ogg: File not found Expected results: The tracks should appear. Does this happen every time? This happens every time with my mp3 player, however the library does not suffer from the problem. Other information: If I rename a file so that it has no spaces in the name, it shows up in the list.
Same thing happened for me with initial import using the first time wizard. Manualy using "Import folder..." imported the rest of the files just fine.
Created attachment 58646 [details] [review] patch to fix this The issue is that the druid and generic mp3 player code were passing paths instead of URIs. This patch fixes it in those places, but also in maks rhythmdb_add_uri canonicalise the passed string, so that it can handle things passing paths. Since this breaks the first-run druid, this is probably cause for 0.9.3.1.
Patch committed to cvs, on HEAD and the branch for 0.9.3.1