After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 543887 - When using the "watch", the import can't handle spaces in filenames
When using the "watch", the import can't handle spaces in filenames
Status: RESOLVED DUPLICATE of bug 487415
Product: rhythmbox
Classification: Other
Component: Importing
0.11.x
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-20 17:35 UTC by Jon Dufresne
Modified: 2008-07-20 22:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jon Dufresne 2008-07-20 17:35:49 UTC
Please describe the problem:
My music is layed out in the following file hierarchy on my hard drive: ~/Music/<artist>/<album>/<song>

Many times, the artist, the album, or the song will have a space. I have chosen to represent spaces with actual spaces rather than underscores.

When using rhythmbox I can properly import my music by doing Music->Import Folder. This works.

If instead I choose to do Edit->Preferences, select the "Music" folder as the folder to watch and then select "Watch my library for new files", the import fails.

From what I can tell the import fails becuase many, if not most, of the files have a space somewhere in the path, either the artist, album, or filename. The error reported by rhythmbox looks as follows:

(10:32:38) [0x9335478] [rhythmdb_add_import_error_entry] rhythmdb.c:1809: adding import error for file:///home/jdufresne/Music/Queen/Classic%2520Queen/Queen%2520-%2520Star%2520Profile%2520-%252014%2520-%2520You%2520Don't%2520Fool%2520Me.mp3: Couldn't access file:///home/jdufresne/Music/Queen/Classic%20Queen/Queen%20-%20Star%20Profile%20-%2014%20-%20You%20Don't%20Fool%20Me.mp3: File not found

Wherever a %20 appears is where a space exists in my file.

Steps to reproduce:
1. Put spaces in file structure of music
2. Enable RB's "watch" feature
3. Watch as errors are reported for files with spaces


Actual results:
The music isn't imported, but instead receive an error.

Expected results:
The music should be imported.

Does this happen every time?
Yes.

Other information:
Comment 1 Jonathan Matthew 2008-07-20 22:31:44 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 487415 ***