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
|
||||
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> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user