Commit Graph

11 Commits

Author SHA1 Message Date
Oystein Kristoffer Tveit da3e344be2 rework error messages 2024-05-03 16:11:31 +02:00
Oystein Kristoffer Tveit 3be7b2bda6
cargo fmt + clippy
Build and test / check (push) Successful in 1m55s Details
Build and test / build (push) Successful in 1m59s Details
Build and test / test (push) Successful in 2m30s Details
2024-04-30 02:13:57 +02:00
Oystein Kristoffer Tveit 75645c5880
api: move highlevel functions into extension 2024-04-30 02:07:08 +02:00
Oystein Kristoffer Tveit deb45a4570
Make entire project async
This moves all communication with Mpv's unix socket into another tokio
task, and uses message passing through clonable mpsc channels to receive
commands to execute, and to send responses.
2024-04-19 00:59:22 +02:00
Jonas Frei 1c9e32671e Updated examples to use adapted observe command 2022-07-10 15:32:04 +02:00
Jonas Frei cb5ad88544 Added list of supported commands as Enum. Cleaned up comments. Pushed version to 1.1.8 2019-06-24 20:11:58 +02:00
Jonas Frei 5b28c95a0a Included observation ID in PropertyChange event 2019-06-20 06:00:44 +02:00
Emmanuel Gil Peyrot b0a62f25eb Run rustfmt on the entire crate 2019-06-19 00:51:11 +02:00
Emmanuel Gil Peyrot 2911b9bb49 Simplify user code by parsing properties ourselves 2019-06-19 00:31:17 +02:00
Emmanuel Gil Peyrot f02b2549a0 Add an example copying mpv’s console output 2019-06-18 23:26:00 +02:00
Emmanuel Gil Peyrot bd18199bad Add a very simple example fetching properties 2019-06-18 23:02:39 +02:00