Commit 55873d1a authored by Sven Krohlas's avatar Sven Krohlas
Browse files

Don't let the album applet freeze Amarok for ages

We tried to show ALL tracks from ALL artists, that do not belong to an
album, if some track from the currently playing artist did not have an
album set. Took about 50 seconds for me on track change...

TODO: show all tracks from this artist that are not part of an album.

BUG: 277021
BUG: 260810
FIXED-IN: 2.4.2
parent 3341b09e
......@@ -33,6 +33,7 @@ VERSION 2.4.2-Beta 1
reduce the number of cache-related crashes.
BUGFIXES:
* Don't let the album applet freeze Amarok for ages on track change. (BR260810, BR277021)
* Fixed cover fetching from Google Images. (BR 275265)
* Fixed a crash in the equalizer dialog when selecting "Off".
* Fix finalization of track copy process to media device collections. (BR238912)
......
......@@ -163,6 +163,11 @@ void Albums::dataUpdated( const QString &name, const Plasma::DataEngine::Data &d
foreach( Meta::AlbumPtr albumPtr, albums )
{
// do not show all tracks without an album from the collection, this takes ages
// TODO: show all tracks from this artist that are not part of an album
if( albumPtr->name().isEmpty() )
continue;
Meta::TrackList tracks = albumPtr->tracks();
if( tracks.isEmpty() )
continue;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment