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