Lens should not access Banshee's sqlite database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity Music Lens |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The Lens currently open banshee.db directly on startup.
This might be a problem for several reasons:
- We might change the database structure
- sqlite doesn't support multiple processes accessing the same database file, and Banshee might be started while the Lens accesses the database.
The alternative would be to use the various org.bansheeproj
http://
The GNOME Do plugin already uses it, so it might help to have a look at it:
http://
This approach would also allow the Lens to show tracks right after they've been added in Banshee
Changed in unity-music-lens: | |
status: | New → Confirmed |
Here's a crash log after Banshee got locked out of its own database. lsof showed only /usr/lib/ unity-lens- music/unity- music-daemon accessing it.