mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Fix handling EOF with MPV (#201)
This commit is contained in:
@@ -176,6 +176,10 @@ final class MPVClient: ObservableObject {
|
||||
mpv.isNil ? false : getFlag("paused-for-cache")
|
||||
}
|
||||
|
||||
var eofReached: Bool {
|
||||
mpv.isNil ? false : getFlag("eof-reached")
|
||||
}
|
||||
|
||||
func seek(relative time: CMTime, completionHandler: ((Bool) -> Void)? = nil) {
|
||||
guard !seeking else {
|
||||
logger.warning("ignoring seek, another in progress")
|
||||
|
Reference in New Issue
Block a user