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

Fix bug showing duplicate albums

Albums with tracks tagged with different years were showing one instance
of the album for each year present in the tracks. This should fix that.
This commit is contained in:
Daniel Barber 2020-02-13 10:35:15 -05:00
parent fe61f5558b
commit 59d09f70fe
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -17,8 +17,7 @@ extension MPDClient {
static func == (lhs: MPDAlbum, rhs: MPDAlbum) -> Bool {
return lhs.title == rhs.title &&
lhs.artist == rhs.artist &&
lhs.date == rhs.date
lhs.artist == rhs.artist
}
}
}