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

Compare commits

...

3 Commits

Author SHA1 Message Date
a2706f4e0a
Update changelog 2019-03-25 21:23:20 -04:00
c0c2bf2fc8
Bump version number 2019-03-25 21:20:44 -04:00
3ac2be469a
Fixed a silly bug
We forgot the actual albumURI in the path!
2019-03-25 21:20:00 -04:00
3 changed files with 15 additions and 8 deletions

View File

@ -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

View File

@ -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>

View File

@ -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> {