diff --git a/android/app/src/main/java/com/audiobookshelf/app/player/AbMediaDescriptionAdapter.kt b/android/app/src/main/java/com/audiobookshelf/app/player/AbMediaDescriptionAdapter.kt index 12cb827a..35a14cf2 100644 --- a/android/app/src/main/java/com/audiobookshelf/app/player/AbMediaDescriptionAdapter.kt +++ b/android/app/src/main/java/com/audiobookshelf/app/player/AbMediaDescriptionAdapter.kt @@ -15,8 +15,6 @@ import com.google.android.exoplayer2.Player import com.google.android.exoplayer2.ui.PlayerNotificationManager import kotlinx.coroutines.* -const val NOTIFICATION_LARGE_ICON_SIZE = 144 // px - class AbMediaDescriptionAdapter constructor(private val controller: MediaControllerCompat, private val playerNotificationService: PlayerNotificationService) : PlayerNotificationManager.MediaDescriptionAdapter { private val tag = "MediaDescriptionAdapter" @@ -77,7 +75,7 @@ class AbMediaDescriptionAdapter constructor(private val controller: MediaControl .load(uri) .placeholder(R.drawable.icon) .error(R.drawable.icon) - .submit(NOTIFICATION_LARGE_ICON_SIZE, NOTIFICATION_LARGE_ICON_SIZE) + .submit() .get() } catch (e: Exception) { e.printStackTrace() @@ -85,7 +83,7 @@ class AbMediaDescriptionAdapter constructor(private val controller: MediaControl Glide.with(playerNotificationService) .asBitmap() .load(Uri.parse("android.resource://${BuildConfig.APPLICATION_ID}/" + R.drawable.icon)) - .submit(NOTIFICATION_LARGE_ICON_SIZE, NOTIFICATION_LARGE_ICON_SIZE) + .submit() .get() } } diff --git a/components/modals/PlaybackSpeedModal.vue b/components/modals/PlaybackSpeedModal.vue index 1e40a814..109527bb 100644 --- a/components/modals/PlaybackSpeedModal.vue +++ b/components/modals/PlaybackSpeedModal.vue @@ -71,7 +71,7 @@ export default { } }, rates() { - return [0.5, 1, 1.2, 1.5, 2, 3] + return [0.5, 1, 1.2, 1.5, 1.7, 2, 3] }, canIncrement() { return this.playbackRate + 0.1 <= this.MAX_SPEED diff --git a/ios/App/Shared/player/AudioPlayer.swift b/ios/App/Shared/player/AudioPlayer.swift index a2e99634..af63f00a 100644 --- a/ios/App/Shared/player/AudioPlayer.swift +++ b/ios/App/Shared/player/AudioPlayer.swift @@ -693,7 +693,6 @@ class AudioPlayer: NSObject { duration: currentChapter.getRelativeChapterEndTime(), currentTime: currentChapter.getRelativeChapterCurrentTime(sessionCurrentTime: session.currentTime), rate: self.rateManager.rate, - defaultRate: self.rateManager.defaultRate, chapterName: currentChapter.title, chapterNumber: (session.chapters.firstIndex(of: currentChapter) ?? 0) + 1, chapterCount: session.chapters.count