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:
parent
c406737ec1
commit
3ac2be469a
@ -18,14 +18,14 @@ extension AlbumArtService {
|
|||||||
]
|
]
|
||||||
|
|
||||||
return getAlbumURI().map { albumURI in
|
return getAlbumURI().map { albumURI in
|
||||||
let musicDir = self.preferences.expandedMpdLibraryDir
|
let musicDir = self.preferences.expandedMpdLibraryDir
|
||||||
|
|
||||||
return coverArtFilenames
|
return coverArtFilenames
|
||||||
.lazy
|
.lazy
|
||||||
.map { "\(musicDir)/\($0)" }
|
.map { "\(musicDir)/\(albumURI)/\($0)" }
|
||||||
.compactMap(self.tryImage)
|
.compactMap(self.tryImage)
|
||||||
.first
|
.first
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func getAlbumURI() -> Promise<String> {
|
func getAlbumURI() -> Promise<String> {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user