upgrade to mpvkit-0.38.0

subtitles are working gain (was broken with 0.37.0)
This commit is contained in:
Toni Förster 2024-05-02 16:46:43 +02:00
parent d1cf45c6a1
commit 7b7f877fa5
No known key found for this signature in database
GPG Key ID: 292F3E5086C83FC7
3 changed files with 9 additions and 4 deletions

View File

@ -138,6 +138,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))")
}

View File

@ -5003,8 +5003,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/cxfksword/MPVKit.git";
requirement = {
kind = revision;
revision = dca1e345a26d09a3d621d7656a94e6427f3f7b83;
kind = upToNextMinorVersion;
minimumVersion = 0.38.0;
};
};
/* End XCRemoteSwiftPackageReference section */

View File

@ -60,7 +60,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/cxfksword/MPVKit.git",
"state" : {
"revision" : "dca1e345a26d09a3d621d7656a94e6427f3f7b83"
"revision" : "f646e4b625e9c8a2ff22a7e0bb5557306300be5d",
"version" : "0.38.0"
}
},
{
@ -181,5 +182,5 @@
}
}
],
"version" : 2
"version" : 3
}