mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Fixed duplicate tracks. But why do they happen?
This commit is contained in:
@@ -257,6 +257,10 @@ AlbumPlaylistInterface::infoSystemFinished( const QString& infoId )
|
||||
void
|
||||
AlbumPlaylistInterface::onTracksLoaded( const QList< query_ptr >& tracks )
|
||||
{
|
||||
if ( !tracks.isEmpty() &&
|
||||
( tracks.first()->artist() != m_album->artist()->name() ||
|
||||
tracks.first()->album() != m_album->name() ) )
|
||||
return;
|
||||
if ( m_collection.isNull() )
|
||||
{
|
||||
m_databaseLoaded = true;
|
||||
|
Reference in New Issue
Block a user