mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 16:26:29 +03:00
fix(speed): player speed saves across instances again
This commit is contained in:
parent
feb1796f92
commit
e230a07dcf
1 changed files with 1 additions and 0 deletions
|
@ -411,6 +411,7 @@ class PlayerActivity : BaseActivity() {
|
|||
val logLevel = if (viewModel.networkPreferences.verboseLogging().get()) "info" else "warn"
|
||||
player.initialize(applicationContext.filesDir.path, logLevel)
|
||||
MPVLib.observeProperty("chapter-list", MPVLib.mpvFormat.MPV_FORMAT_NONE)
|
||||
MPVLib.setPropertyDouble("speed", playerPreferences.playerSpeed().get().toDouble())
|
||||
mpvUpdateHwDec(HwDecState.get(playerPreferences.standardHwDec().get()))
|
||||
MPVLib.setOptionString("keep-open", "always")
|
||||
MPVLib.setOptionString("ytdl", "no")
|
||||
|
|
Loading…
Reference in a new issue