Initial library import slows to a crawl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Noise |
Fix Released
|
Medium
|
Sergey "Shnatsel" Davidoff |
Bug Description
Running a current elementaryOS 64bit, recent install, up-to-date.
AMD Turion™ X2 Dual-Core Mobile Processor, 2 GHz
3 GB RAM
I've got a Music folder with about 20,000 mp3s organized in nested Artist > Album folders.
I don't see any errors, aside from the UI becoming unresponsive at times, but I've noticed that the initial import from the Music folder takes an increasing amount of time as the progress goes on. As a result I have yet to fully import all of my music into Noise.
The UI counts 1, then +200 files during the import, so: 1, 201, 401, 601, etc.
As the number of files imported increases, the time between UI updates increases. It takes about 4 hrs on my system to import about 8000 songs. It then takes another 4 hrs to import the next 2000 (total: 10000). At this rate, it'd take, what? A few days to import all 20000?
What I've tried is to force quit, restart Noise, and re-scan, but this doesn't seem to go anywhere at all. I've also tried to delete the library database and re-import, but I end up with the same, slow death result.
When I do restart Noise after force-quitting an import, all of the imported tracks are there and work well, but obviously I'm missing a large amount of my library. Is this maybe a database issue?
Related branches
- Victor Martinez (community): Approve
-
Diff: 191 lines (+25/-44)4 files modifiedcore/Utils/FileUtils.vala (+2/-2)
plugins/Devices/AudioPlayers/AudioPlayerDevice.vala (+1/-1)
src/FileOperator.vala (+4/-4)
src/LocalLibrary.vala (+18/-37)
Changed in noise: | |
status: | Incomplete → Confirmed |
status: | Confirmed → In Progress |
assignee: | nobody → Sergey "Shnatsel" Davidoff (shnatsel) |
Changed in noise: | |
importance: | Undecided → Medium |
Changed in noise: | |
status: | In Progress → Fix Committed |
tags: | added: performance |
Changed in noise: | |
milestone: | none → freya-beta2 |
Changed in noise: | |
status: | Fix Committed → Fix Released |
OP can you try again with the latest version? There's been some changes to this functionality