mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Only add albumartist if it's non-empty
This commit is contained in:
@@ -131,7 +131,8 @@ DatabaseCommand_AddFiles::exec( DatabaseImpl* dbi )
|
|||||||
// this is the qvariant(map) the remote will get
|
// this is the qvariant(map) the remote will get
|
||||||
v = m;
|
v = m;
|
||||||
|
|
||||||
// add the album artist to the artist database
|
// add the album artist to the artist database.
|
||||||
|
if( !albumartist.trimmed().isEmpty() )
|
||||||
albumartistid = dbi->artistId( albumartist, true );
|
albumartistid = dbi->artistId( albumartist, true );
|
||||||
|
|
||||||
if( !artist.trimmed().isEmpty() )
|
if( !artist.trimmed().isEmpty() )
|
||||||
|
Reference in New Issue
Block a user