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 577751 - Rhythmbox importer should look for library in new locations
Rhythmbox importer should look for library in new locations
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Importing
git master
Other Linux
: High normal
: 1.6
Assigned To: Banshee Maintainers
Banshee Maintainers
: 586654 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-04-02 17:27 UTC by Gabriel Burt
Modified: 2009-09-08 23:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes library location (1.98 KB, patch)
2009-06-05 00:30 UTC, Paul Lange
committed Details | Review

Description Gabriel Burt 2009-04-02 17:27:28 UTC
RB now defaults to storing their library in the XDG data directory (usually ~/.local/share/) - we should first see if the db files are there, then fallback to the old one if not.
Comment 1 Gabriel Burt 2009-04-02 17:30:05 UTC
Paul, you have any time to do this?
Comment 2 Paul Lange 2009-04-02 20:36:37 UTC
Gabriel, unfortunately not (traveling).
I could write a quick patch but there's no possibility to test - so I think it's better when somebody else does it. Because of this I also can't work on #572020.
Comment 3 Paul Lange 2009-06-04 23:41:17 UTC
Back from travels, will work on this.
Comment 4 Paul Lange 2009-06-05 00:30:42 UTC
Created attachment 135994 [details] [review]
fixes library location

Search for new Rhythmbox library location.
Comment 5 Gabriel Burt 2009-06-05 18:08:46 UTC
Thanks Paul.  I modified the patch so it would actually compile (can't assign > 1 time to a readonly variable) and committed.  I also committed another patch for the playlists db file.
Comment 6 Paul Lange 2009-06-05 18:14:14 UTC
Oh, sorry I missed the playlists and thanks for reviewing that fast.
Comment 7 Bertrand Lorentz 2009-06-22 21:17:50 UTC
*** Bug 586654 has been marked as a duplicate of this bug. ***
Comment 8 michael de 2009-09-08 22:29:36 UTC
How do you implement the patch? Thanks.
Comment 9 Alexander Kojevnikov 2009-09-08 23:28:10 UTC
(In reply to comment #8)
> How do you implement the patch? Thanks.

Get the source code:
http://banshee-project.org/contribute/write-code/
http://banshee-project.org/download/development/

Then run:

$ git apply /path/to.patch