mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 18:54:11 +00:00
Reset sponsorblock segments for local videos
This commit is contained in:
@@ -80,6 +80,11 @@ final class SponsorBlockAPI: ObservableObject {
|
||||
}
|
||||
}
|
||||
|
||||
func reset() {
|
||||
videoID = nil
|
||||
segments = []
|
||||
}
|
||||
|
||||
private func requestSegments(categories: Set<String>, completionHandler: @escaping () -> Void = {}) {
|
||||
guard let url = skipSegmentsURL, !categories.isEmpty else {
|
||||
return
|
||||
|
Reference in New Issue
Block a user