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:
parent
d69794cbd8
commit
38ad9523c7
@ -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? {
|
||||||
|
Loading…
Reference in New Issue
Block a user