1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00

Fix bug with getting tracks for compilations

This commit is contained in:
Daniel Barber 2019-11-23 11:52:53 -05:00
parent b712a8d00d
commit bed09eb888
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -110,7 +110,7 @@ extension MPDClient {
func albumSongs(for album: MPDAlbum, callback: ([MPDSong]) -> Void) {
guard isConnected else { return }
let songs = searchSongs([MPDTag.album: album.title, MPDTag.artist: album.artist])
let songs = searchSongs([MPDTag.album: album.title, MPDTag.albumArtist: album.artist])
callback(songs)
}