mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
fix: watch position saved on video end even if disabled
This commit is contained in:
parent
1ff500839b
commit
7ba10d25c4
@ -97,7 +97,7 @@ abstract class AbstractPlayerService : MediaLibraryService(), MediaLibrarySessio
|
|||||||
|
|
||||||
when (playbackState) {
|
when (playbackState) {
|
||||||
Player.STATE_ENDED -> {
|
Player.STATE_ENDED -> {
|
||||||
exoPlayer?.let { PlayerHelper.saveWatchPosition(it, videoId) }
|
saveWatchPosition()
|
||||||
}
|
}
|
||||||
Player.STATE_READY -> {
|
Player.STATE_READY -> {
|
||||||
isTransitioning = false
|
isTransitioning = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user