Merge pull request #653 from stonerl/mpvkit-0-38-0

upgrade to mpvkit-0.38.0
This commit is contained in:
Arkadiusz Fal
2024-05-16 18:24:41 +02:00
committed by GitHub
3 changed files with 8 additions and 3 deletions

View File

@@ -140,6 +140,10 @@ final class MPVClient: ObservableObject {
args.append("replace")
// needed since mpvkit 0.38.0
// https://github.com/mpv-player/mpv/issues/13806#issuecomment-2029818905
args.append("-1")
if let time, time.seconds > 0 {
options.append("start=\(Int(time.seconds))")
}