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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user