Commit Graph

16 Commits

Author SHA1 Message Date
961da5b301
rename project from mpvipc to mpvipc-async 2024-08-03 17:07:09 +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
eb81d7c463
reuse property_parser for highlevel api, add more highlevel functions 2024-05-04 23:01:17 +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
e044246cba
fixup: fmt + clippy 2024-05-04 00:23:02 +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
2736d1d7ad
wrap event data in Option 2024-05-03 22:29:28 +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
3be7b2bda6
cargo fmt + clippy
All checks were successful
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 1m59s
Build and test / test (push) Successful in 2m30s
2024-04-30 02:13:57 +02:00
75645c5880
api: move highlevel functions into extension 2024-04-30 02:07:08 +02:00
aacde5df12
Create event stream 2024-04-30 02:07:04 +02:00
c039eafa1e
Add some tests 2024-04-19 01:02:24 +02:00