mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-21 05:11:44 +02:00
Only add albumartist if it's non-empty
This commit is contained in:
committed by
Christian Muehlhaeuser
parent
aaacecbb71
commit
f4f8ea8aa9
@@ -131,8 +131,9 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi )
|
|||||||
v = m;
|
v = m;
|
||||||
|
|
||||||
artistid = dbi->artistId( artist, true );
|
artistid = dbi->artistId( artist, true );
|
||||||
// add the album artist to the artist database
|
// add the album artist to the artist database.
|
||||||
albumartistid = dbi->artistId( albumartist, true );
|
if ( !albumartist.trimmed().isEmpty() )
|
||||||
|
albumartistid = dbi->artistId( albumartist, true );
|
||||||
|
|
||||||
if ( !artist.trimmed().isEmpty() )
|
if ( !artist.trimmed().isEmpty() )
|
||||||
artistid = dbi->artistId( artist, true );
|
artistid = dbi->artistId( artist, true );
|
||||||
|
Reference in New Issue
Block a user