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:
parent
b712a8d00d
commit
bed09eb888
@ -110,7 +110,7 @@ extension MPDClient {
|
|||||||
func albumSongs(for album: MPDAlbum, callback: ([MPDSong]) -> Void) {
|
func albumSongs(for album: MPDAlbum, callback: ([MPDSong]) -> Void) {
|
||||||
guard isConnected else { return }
|
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)
|
callback(songs)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user