1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 05:37:29 +02:00

Check whether albumartist is blank before trying to add it.

This commit is contained in:
hansschmucker
2014-11-13 15:30:43 +01:00
parent 8e199f9faf
commit 9e710da93d

View File

@@ -134,6 +134,7 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi )
// add the album artist to the artist database
albumartistid = dbi->artistId( albumartist, true );
if( !artist.trimmed().isEmpty() )
artistid = dbi->artistId( artist, true );
if ( artistid < 1 )
continue;