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

View File

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

View File

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