mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
Compare commits
3 Commits
c406737ec1
...
a2706f4e0a
| Author | SHA1 | Date | |
|---|---|---|---|
| a2706f4e0a | |||
| c0c2bf2fc8 | |||
| 3ac2be469a |
@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 0.10.3a - 2019-03-25
|
||||
|
||||
### Changed
|
||||
|
||||
- Fixed a bug introduced by the artwork service refactor that missed part of the
|
||||
path and thus prevented it loading artwork from the filesystem
|
||||
|
||||
## 0.10.2a - 2019-03-23
|
||||
|
||||
### Added
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.10.2a</string>
|
||||
<string>0.10.3a</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
|
||||
@ -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