mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
Fixed duplicate tracks. But why do they happen?
This commit is contained in:
parent
4a2fd14d70
commit
4777a64ce7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user