1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 14:20:32 +05:30

Don't show buffering 100% osd

This commit is contained in:
Arkadiusz Fal 2022-09-02 15:16:05 +02:00
parent d69794cbd8
commit 38ad9523c7

View File

@ -12,7 +12,7 @@ final class NetworkStateModel: ObservableObject {
var osdVisible: Bool { var osdVisible: Bool {
guard let player = player else { return false } guard let player = player else { return false }
return player.isPlaying && ((player.activeBackend == .mpv && pausedForCache) || player.isSeeking) return player.isPlaying && ((player.activeBackend == .mpv && pausedForCache) || player.isSeeking) && bufferingState < 100.0
} }
var fullStateText: String? { var fullStateText: String? {