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
|
# 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
|
## 0.10.2a - 2019-03-23
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.10.2a</string>
|
<string>0.10.3a</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1</string>
|
<string>1</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
|
|||||||
@ -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