1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 16:28:19 +01:00

Merge pull request #4937 from diogocp/master

Send album artist to Last.fm
This commit is contained in:
John Maguire 2015-07-03 10:35:39 -04:00
commit 159f1e4cf5

View File

@ -998,6 +998,9 @@ void Song::ToLastFM(lastfm::Track* track, bool prefer_album_artist) const {
} else {
mtrack.setArtist(d->artist_);
}
#if LASTFM_MAJOR_VERSION >= 1
mtrack.setAlbumArtist(d->albumartist_);
#endif
mtrack.setAlbum(d->album_);
mtrack.setTitle(d->title_);
mtrack.setDuration(length_nanosec() / kNsecPerSec);