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,7 +134,8 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi )
|
|||||||
// add the album artist to the artist database
|
// add the album artist to the artist database
|
||||||
albumartistid = dbi->artistId( albumartist, true );
|
albumartistid = dbi->artistId( albumartist, true );
|
||||||
|
|
||||||
artistid = dbi->artistId( artist, true );
|
if( !artist.trimmed().isEmpty() )
|
||||||
|
artistid = dbi->artistId( artist, true );
|
||||||
if ( artistid < 1 )
|
if ( artistid < 1 )
|
||||||
continue;
|
continue;
|
||||||
trackid = dbi->trackId( artistid, track, true );
|
trackid = dbi->trackId( artistid, track, true );
|
||||||
|
Reference in New Issue
Block a user