Merge pull request #4363 from diogocp/master

Send album artist to Last.fm.  Fixes #4354
This commit is contained in:
David Sansome 2014-05-21 09:29:28 +10:00
commit c86a2b5201
1 changed files with 1 additions and 0 deletions

View File

@ -950,6 +950,7 @@ void Song::ToLastFM(lastfm::Track* track, bool prefer_album_artist) const {
} else { } else {
mtrack.setArtist(d->artist_); mtrack.setArtist(d->artist_);
} }
mtrack.setAlbumArtist(d->albumartist_);
mtrack.setAlbum(d->album_); mtrack.setAlbum(d->album_);
mtrack.setTitle(d->title_); mtrack.setTitle(d->title_);
mtrack.setDuration(length_nanosec() / kNsecPerSec); mtrack.setDuration(length_nanosec() / kNsecPerSec);