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

Fixed a silly bug

We forgot the actual albumURI in the path!
This commit is contained in:
Daniel Barber 2019-03-25 21:20:00 -04:00
parent c406737ec1
commit 3ac2be469a
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -18,14 +18,14 @@ extension AlbumArtService {
]
return getAlbumURI().map { albumURI in
let musicDir = self.preferences.expandedMpdLibraryDir
let musicDir = self.preferences.expandedMpdLibraryDir
return coverArtFilenames
.lazy
.map { "\(musicDir)/\($0)" }
.compactMap(self.tryImage)
.first
}
return coverArtFilenames
.lazy
.map { "\(musicDir)/\(albumURI)/\($0)" }
.compactMap(self.tryImage)
.first
}
}
func getAlbumURI() -> Promise<String> {