mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-07-13 23:42:21 +00:00
Fix:Android download book play times in history
This commit is contained in:
parent
a12eb7efdf
commit
944aa5de66
1 changed files with 7 additions and 2 deletions
|
|
@ -709,7 +709,9 @@ class PlayerNotificationService : MediaBrowserServiceCompat() {
|
|||
|
||||
// Should already be playing
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
|
@ -739,7 +741,10 @@ class PlayerNotificationService : MediaBrowserServiceCompat() {
|
|||
}
|
||||
|
||||
currentPlayer.volume = 1F // Volume on sleep timer might have decreased this
|
||||
mediaProgressSyncer.play(it)
|
||||
mediaProgressSyncer.currentPlaybackSession?.let { playbackSession ->
|
||||
mediaProgressSyncer.play(playbackSession)
|
||||
}
|
||||
|
||||
clientEventEmitter?.onPlayingUpdate(true)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue