mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-30 07:07:22 +02:00
Fix:Android download book play times in history
This commit is contained in:
+7
-2
@@ -709,7 +709,9 @@ class PlayerNotificationService : MediaBrowserServiceCompat() {
|
|||||||
|
|
||||||
// Should already be playing
|
// Should already be playing
|
||||||
currentPlayer.volume = 1F // Volume on sleep timer might have decreased this
|
currentPlayer.volume = 1F // Volume on sleep timer might have decreased this
|
||||||
currentPlaybackSession?.let { mediaProgressSyncer.play(it) }
|
mediaProgressSyncer.currentPlaybackSession?.let { playbackSession ->
|
||||||
|
mediaProgressSyncer.play(playbackSession)
|
||||||
|
}
|
||||||
clientEventEmitter?.onPlayingUpdate(true)
|
clientEventEmitter?.onPlayingUpdate(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -739,7 +741,10 @@ class PlayerNotificationService : MediaBrowserServiceCompat() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
currentPlayer.volume = 1F // Volume on sleep timer might have decreased this
|
currentPlayer.volume = 1F // Volume on sleep timer might have decreased this
|
||||||
mediaProgressSyncer.play(it)
|
mediaProgressSyncer.currentPlaybackSession?.let { playbackSession ->
|
||||||
|
mediaProgressSyncer.play(playbackSession)
|
||||||
|
}
|
||||||
|
|
||||||
clientEventEmitter?.onPlayingUpdate(true)
|
clientEventEmitter?.onPlayingUpdate(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user