120 Commits

Author SHA1 Message Date
2df997b033 flake.lock: bump, Cargo.toml: update inputs 2025-09-20 18:05:41 +02:00
1cfd36197d {flake.lock,Cargo.toml}: bump
Some checks failed
Build and test / build (push) Successful in 48s
Build and test / check (push) Failing after 47s
Build and test / test (push) Successful in 2m10s
Build and test / docs (push) Successful in 1m6s
2025-08-03 05:00:22 +02:00
12b0d5f9d5 .gitea/workflows: update gitea-web target host
Some checks failed
Build and test / check (push) Failing after 56s
Build and test / build (push) Successful in 1m3s
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
2025-08-03 04:52:05 +02:00
7bc4765d65 Cargo.toml: update deps
Some checks failed
Build and test / build (push) Successful in 49s
Build and test / check (push) Failing after 1m3s
Build and test / docs (push) Failing after 1m15s
Build and test / test (push) Failing after 1m30s
2025-07-11 20:26:50 +02:00
3fa1907de8 flake.nix: add cargo-edit to devshell 2025-07-11 20:24:53 +02:00
53fa4eff0b flake.lock: bump 2025-07-11 20:24:24 +02:00
cd1484bd40 flake.lock: bump
Some checks failed
Build and test / build (push) Failing after 1m23s
Build and test / check (push) Failing after 1m23s
Build and test / docs (push) Failing after 14s
Build and test / test (push) Failing after 1m29s
2025-07-11 20:22:48 +02:00
a6c6bf4388 Move project from Projects to Grzegorz
All checks were successful
Build and test / check (push) Successful in 59s
Build and test / docs (push) Successful in 1m16s
Build and test / test (push) Successful in 2m27s
Build and test / build (push) Successful in 57s
2025-01-06 16:31:12 +01:00
5a74dd0b02 highlevel_api: fix pause toggling
Some checks failed
Build and test / docs (push) Has been cancelled
Build and test / check (push) Successful in 1m9s
Build and test / build (push) Successful in 1m10s
Build and test / test (push) Successful in 2m33s
2024-12-15 17:37:48 +01:00
ee5aa30335 core: mark MpvDataType as serde(untagged)
Some checks are pending
Build and test / build (push) Waiting to run
Build and test / check (push) Waiting to run
Build and test / test (push) Waiting to run
Build and test / docs (push) Waiting to run
2024-12-15 16:21:25 +01:00
e3297bef15 event_parser: make id optional
Some checks are pending
Build and test / build (push) Waiting to run
Build and test / check (push) Waiting to run
Build and test / test (push) Waiting to run
Build and test / docs (push) Waiting to run
2024-12-15 15:31:01 +01:00
00cae63272 .gitea/build-and-test: remove caching step
Some checks failed
Build and test / build (push) Successful in 1m1s
Build and test / check (push) Successful in 1m4s
Build and test / test (push) Failing after 2m18s
Build and test / docs (push) Successful in 2m55s
This don't seem to be working properly, and it takes a lot of time to
time out. Let's remove it for now
2024-12-14 14:05:23 +01:00
99884b670d property_parser: fix typo in docstring
All checks were successful
Build and test / build (push) Successful in 10m30s
Build and test / check (push) Successful in 10m36s
Build and test / test (push) Successful in 2m20s
Build and test / docs (push) Successful in 12m5s
2024-12-14 13:52:58 +01:00
3fe7417d4c core: add docstrings for variants of MpvCommand 2024-12-14 13:52:57 +01:00
eb7277e4fd treewide: fix type for property change event ids 2024-12-14 13:51:12 +01:00
81479d2f64 MpvError: add copy of command for better context
All checks were successful
Build and test / test (push) Successful in 2m13s
Build and test / build (push) Successful in 10m26s
Build and test / docs (push) Successful in 11m19s
Build and test / check (push) Successful in 10m27s
2024-12-12 16:36:42 +01:00
b2a22a9a57 .gitea/build-and-test: enable cache
All checks were successful
Build and test / build (push) Successful in 10m31s
Build and test / docs (push) Successful in 10m41s
Build and test / check (push) Successful in 10m39s
Build and test / test (push) Successful in 2m17s
2024-12-12 14:47:55 +01:00
ac863c571e core_api: add Default for Playlist 2024-12-12 14:47:55 +01:00
13397a59f7 tests/integration: increase mpv command timeout 2024-12-12 14:47:55 +01:00
be5c37b433 .gitea/build-and-test: limit test threads 2024-12-12 14:47:55 +01:00
3ca3d7784c Move repo to Projects, some pipeline updates 2024-12-12 14:47:55 +01:00
fa937567bd .gitea/build-and-test: switch over to the default builders
All checks were successful
Build and test / build (push) Successful in 10m39s
Build and test / docs (push) Successful in 11m13s
Build and test / check (push) Successful in 10m38s
Build and test / test (push) Successful in 16m13s
2024-12-09 23:59:59 +01:00
c129e5104d .gitea/workflows: adjust rsync action url
All checks were successful
Build and test / build (push) Successful in 1m54s
Build and test / check (push) Successful in 1m56s
Build and test / test (push) Successful in 3m25s
Build and test / docs (push) Successful in 2m26s
2024-08-21 07:19:24 +02:00
467cac3c50 fix inverted switch for MpvExt::set_playback
All checks were successful
Build and test / build (push) Successful in 1m56s
Build and test / check (push) Successful in 1m55s
Build and test / docs (push) Successful in 3m57s
Build and test / test (push) Successful in 3m57s
v0.1.0
2024-08-03 21:02:46 +02:00
6a0a275f64 cargo fmt + clippy
All checks were successful
Build and test / build (push) Successful in 1m58s
Build and test / check (push) Successful in 1m58s
Build and test / docs (push) Successful in 2m16s
Build and test / test (push) Successful in 3m27s
2024-08-03 17:07:52 +02:00
99e4622ef7 switch default branch from master to main 2024-08-03 17:07:50 +02:00
ee0c51eeba Cargo.toml: use real name for co-author 2024-08-03 17:07:13 +02:00
961da5b301 rename project from mpvipc to mpvipc-async 2024-08-03 17:07:09 +02:00
cbd8b1aed2 Add TODO for missing async response events 2024-08-03 16:02:17 +02:00
9e0d8c0117 README: small fixups, add fork notice 2024-08-03 15:52:41 +02:00
bb050d7a6d Add comments for integration_tests::event_property_parser 2024-08-03 15:38:49 +02:00
93366593c7 Allow a few more highlevel types to be nullable 2024-08-03 15:38:46 +02:00
4cc824d164 .envrc: init 2024-08-02 18:20:31 +02:00
d482e9eaf6 flake: fix RUST_SRC_PATH, add x86_64-darwin to systems 2024-05-05 14:06:21 +02:00
eb81d7c463 reuse property_parser for highlevel api, add more highlevel functions 2024-05-04 23:01:17 +02:00
66d54a58aa add cargo-nextest to flake.nix devshell 2024-05-04 18:45:33 +02:00
650507e680 add support for parsing playlists as events + more
This brings several changes with it:

- `Mpv::get_property` now returns `Option`s in case `data` is
  nonexistent. There could be cases where this is different from
  `MpvDataType::Null` and `MpvDataType::MinusOne`.

- `MpvError` now implements `PartialEq`
2024-05-04 18:45:32 +02:00
2ed8025046 fix examples and documentation
All checks were successful
Build and test / check (pull_request) Successful in 1m58s
Build and test / build (pull_request) Successful in 1m59s
Build and test / docs (pull_request) Successful in 2m44s
Build and test / test (pull_request) Successful in 3m19s
Build and test / build (push) Successful in 1m56s
Build and test / check (push) Successful in 1m50s
Build and test / docs (push) Successful in 2m45s
Build and test / test (push) Successful in 3m29s
2024-05-04 00:23:02 +02:00
e044246cba fixup: fmt + clippy 2024-05-04 00:23:02 +02:00
f1687fe07b add/fix more docstrings 2024-05-04 00:23:01 +02:00
3a04cd14f1 restructure test directory 2024-05-04 00:23:01 +02:00
f50b4defc1 add some tests for event property parser 2024-05-04 00:23:01 +02:00
48cbb51b77 use nextest for running tests 2024-05-04 00:23:00 +02:00
2736d1d7ad wrap event data in Option 2024-05-03 22:29:28 +02:00
878cebbc9f use usize for request ids 2024-05-03 22:29:27 +02:00
cb0921144d rework error messages 2024-05-03 22:29:25 +02:00
7eec34ce00 split property parsing from event parsing:
All checks were successful
Build and test / build (pull_request) Successful in 1m55s
Build and test / check (pull_request) Successful in 1m52s
Build and test / docs (pull_request) Successful in 2m21s
Build and test / test (pull_request) Successful in 4m9s
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 1m57s
Build and test / docs (push) Successful in 2m43s
Build and test / test (push) Successful in 5m33s
High-level properties are now optional, considering there are about a
thousand of them to parse. The high-level properties are a few chosen
ones that I suspect might be useful for most people, with catch-all enum
variants for the less common ones.
2024-05-02 21:16:23 +02:00
f5ca2ebde9 add more tests, fix event/command response race condition
All checks were successful
Build and test / check (pull_request) Successful in 1m56s
Build and test / build (pull_request) Successful in 1m57s
Build and test / docs (pull_request) Successful in 2m30s
Build and test / test (pull_request) Successful in 4m0s
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 1m56s
Build and test / docs (push) Successful in 3m2s
Build and test / test (push) Successful in 3m59s
2024-05-01 23:45:42 +02:00
bb3426f111 add script to create coverage report manually 2024-05-01 23:45:41 +02:00
03bcf9976d workflow: generate test reports and docs
All checks were successful
Build and test / build (push) Successful in 2m53s
Build and test / check (push) Successful in 2m54s
Build and test / docs (push) Successful in 3m49s
Build and test / test (push) Successful in 6m26s
2024-05-01 22:22:46 +02:00