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

Handle albums with a zero disc

This commit is contained in:
Daniel Barber 2020-01-22 22:34:45 -05:00
parent a8987029f5
commit 9bbf6fb875
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -30,7 +30,7 @@ class AlbumTracksDataSource: NSObject, NSTableViewDataSource {
var disc: String? = ""
songs.forEach { song in
if song.disc != disc {
if song.disc != disc && song.disc != "0" {
disc = song.disc
albumSongs.append(AlbumSongItem(disc: song.disc))
}