Skip to content
Permalink
Browse files

Merge pull request #2474 from orion1vi/bugfix

Fixes miniplayer playtime slider and labels not updating on network resources
  • Loading branch information...
alejx committed May 29, 2019
2 parents 3f1a47d + 5c48765 commit e94807d780e2bc457c5975356b0d134ad55f9188
Showing with 5 additions and 1 deletion.
  1. +5 −1 iina/PlayerCore.swift
@@ -1254,7 +1254,11 @@ class PlayerCore: NSObject {
info.cacheTime = mpv.getInt(MPVProperty.demuxerCacheTime)
info.bufferingState = mpv.getInt(MPVProperty.cacheBufferingState)
DispatchQueue.main.async {
self.mainWindow.updatePlayTime(withDuration: true, andProgressBar: true)
if self.isInMiniPlayer {
self.miniPlayer.updatePlayTime(withDuration: true, andProgressBar: true)
} else {
self.mainWindow.updatePlayTime(withDuration: true, andProgressBar: true)
}
self.mainWindow.updateNetworkState()
}

0 comments on commit e94807d

Please sign in to comment.
You can’t perform that action at this time.