mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Fix bookmarks
This commit is contained in:
@@ -291,7 +291,9 @@ final class MPVBackend: PlayerBackend {
|
||||
}
|
||||
|
||||
if video.isLocal, video.localStreamIsFile {
|
||||
_ = url.startAccessingSecurityScopedResource()
|
||||
if url.startAccessingSecurityScopedResource() {
|
||||
URLBookmarkModel.shared.saveBookmark(url)
|
||||
}
|
||||
}
|
||||
|
||||
self.client.loadFile(url, sub: captions?.url, time: time, forceSeekable: stream.kind == .hls) { [weak self] _ in
|
||||
|
Reference in New Issue
Block a user