Merge branch '433' into 'master'

433

See merge request ultrasonic/ultrasonic!979
This commit is contained in:
birdbird 2023-04-24 11:37:53 +00:00
commit 0b2c8eccfe
4 changed files with 17 additions and 5 deletions

View File

@ -0,0 +1,8 @@
Bug fixes
- Fix various crashes
Changes since 4.2.0
- #827: Make app full compliant Android Auto to publish in Play Store.
- #878: "Play shuffled" option for playlists always begins with the first track.
- #891: Dump config to log file when logging is enabled.
- #854: Remove Videos menu option for servers which don't support it.

View File

@ -9,8 +9,8 @@ android {
defaultConfig {
applicationId "org.moire.ultrasonic"
versionCode 115
versionName "4.3.2"
versionCode 116
versionName "4.3.3"
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk

View File

@ -51,11 +51,14 @@ class HeaderViewBinder(
val resources = context.resources
val artworkSelection = random.nextInt(item.childCount)
val size = Util.getAlbumImageSize(context)
imageLoaderProvider.executeOn {
it.loadImage(
holder.coverArtView, item.entries[artworkSelection], false,
Util.getAlbumImageSize(context)
holder.coverArtView,
item.entries[artworkSelection],
false,
size
)
}

View File

@ -96,13 +96,14 @@ class NowPlayingFragment : Fragment() {
if (file != null) {
val title = file.title
val artist = file.artist
val size = getNotificationImageSize(requireContext())
imageLoaderProvider.executeOn {
it.loadImage(
nowPlayingAlbumArtImage,
file,
false,
getNotificationImageSize(requireContext())
size
)
}