High cpu usage when either stopping or changing a track
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
High
|
reacocard |
Bug Description
Exaile version 3.0.1 from Karmic and version 3.0.2 from PPA
Ubuntu Karmic
The Problem.
Either stopping or changing a track causes high cpu usuage, this is not too noticable on fast cpu's, however on slow cpu's it causes 100% cpu usage for 20 to 30 seconds.
The problem originates in xl/track.py/ in def set_tag which raises the global event 'track_
This gets picked up in the following:
xlgui/playlist.py def refresh_
xlgui/
xlgui/
This last routine would seem to reload all the playlists (why after a track is changed or stopped? ) and in fact is the guilty culprit.
What I cannot understand from the code is why the last two routines are called at all?
A Quick Solution is to include the missing key 'sync_on_
i.e. sync_on_tag_change = B: True
Regards
David
Changed in exaile: | |
status: | Fix Committed → Fix Released |
Whoops typo on the last line it should read
i.e. sync_on_tag_change = B: False