GNOME Bugzilla – Bug 539511
Songs in a directory with the same prefix as the music library are not played
Last modified: 2008-07-27 22:45:53 UTC
My music library is in "/win/Music" and banshee is refusing to play songs imported from "/win/MusicTest" displaying the error "[Error 20:13:25.507] GStreamer resource error: NotFound". This is probably because the directory has the same prefix as the music library, in fact if I rename the directory to "MusiTest" (without the "c") it works.
This might be related to bug #533177. Did you have the "copy on import" option activated when you imported the songs from "/win/MusicTest" ?
I can reproduce the bug both enabling and not enabling the option.
I tracked it down the cause of this. It's similar to the problem in bug #533177, but in a different place in the code. I'll post a patch shortly.
Created attachment 113201 [details] [review] Make sure the path is really a subdirectory As the patched method is used in several places, this could use some testing to make sure nothing relied on the broken behavior.
Committed (with some unit tests for this method); thanks!