Oystein Kristoffer Tveit
e486e00d87
WIP
Build and test / check (push) Failing after 1m42s
Details
Build and test / build (push) Successful in 2m53s
Details
Build and test / docs (push) Failing after 2m31s
Details
Build and test / test (push) Failing after 5m33s
Details
Build docs / docs (push) Successful in 3m24s
Details
2024-05-01 13:56:56 +02:00
Oystein Kristoffer Tveit
dece945ed2
WIP: add more tests
Build and test / build (push) Successful in 2m45s
Details
Build and test / check (push) Failing after 2m3s
Details
Build docs / docs (push) Successful in 3m35s
Details
Build and test / test (push) Successful in 6m28s
Details
2024-04-30 22:07:40 +02:00
Oystein Kristoffer Tveit
c5d40a68a6
WIP: workflow: generate test reports
2024-04-30 22:06:10 +02:00
Oystein Kristoffer Tveit
d6587c179a
clean: add docstrings, move a few things around
2024-04-30 17:39:33 +02:00
Oystein Kristoffer Tveit
7e20ff9b56
api: split into several files
2024-04-30 17:39:33 +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
7bcd3fc1ec
setup gitea action workflows
Build and test / check (push) Failing after 1m29s
Details
Build and test / build (push) Successful in 1m55s
Details
Build and test / test (push) Successful in 1m57s
Details
2024-04-30 02:07:08 +02:00
Oystein Kristoffer Tveit
75645c5880
api: move highlevel functions into extension
2024-04-30 02:07:08 +02:00
Oystein Kristoffer Tveit
aacde5df12
Create event stream
2024-04-30 02:07:04 +02:00
Oystein Kristoffer Tveit
c039eafa1e
Add some tests
2024-04-19 01:02:24 +02:00
Oystein Kristoffer Tveit
ea12dbec5b
nix support
2024-04-19 00:59:22 +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
Oystein Kristoffer Tveit
f5c9674b78
Misc: refactor + serde serialization derives
...
- Split content into more files
- Refactor TypeHandler impls
- Add serialization traits to public structs/enums
2024-04-16 23:11:19 +02:00
Oystein Kristoffer Tveit
6d2575b940
Add `Clone` and `Copy` to several public structs
2024-04-16 20:54:17 +02:00
Jonas Frei
d973f1e23e
Merge branch 'fix-readme-link' into 'master'
...
Fix link to mpvc
See merge request mpv-ipc/mpvipc!6
2023-08-22 11:40:33 +00:00
naglis
48d15f8085
Fix link to mpvc
2023-08-22 14:05:32 +03:00
Jonas Frei
fe6b191a3b
Updated crates, switched edition to 2021, version update
2023-08-03 12:55:41 +02:00
Jonas Frei
9e3ec12894
Generate JSON string with serde_json
...
Closes #3
2023-08-02 11:15:37 +02:00
Jonas Frei
ff7a7b7c9d
Added mpv commands script-message and script-message-to
2023-07-31 20:19:03 +02:00
Jonas Frei
cea343cd3b
Merge branch 'add-client-message-event' into 'master'
...
Add support for `client-message` events
See merge request mpv-ipc/mpvipc!4
2023-07-31 07:30:06 +00:00
Jonas Frei
f591765e34
Merge branch 'use-cycle-for-toggle' into 'master'
...
Use `cycle` command for toggling play/pause
See merge request mpv-ipc/mpvipc!5
2023-07-31 05:21:32 +00:00
naglis
f023be48f7
Use `cycle` command for toggling play/pause
...
This way we do not need to get the `pause` property first.
2023-07-31 00:47:04 +03:00
naglis
83abe0bf62
Add support for `client-message` events
...
These events are issued [1] when clients communicate to each other using
`script-message` [2] and `script-message-to` [3] commands.
[1]: https://mpv.io/manual/stable/#command-interface-client-message
[2]: https://mpv.io/manual/stable/#command-interface-script-message
[3]: https://mpv.io/manual/stable/#command-interface-script-message-to
2023-07-30 23:14:20 +03:00
Jonas Frei
c5550739f4
Bump package version
2022-07-21 18:21:58 +02:00
Jonas Frei
86662ffb6b
Merge branch 'master' into 'master'
...
clean up code and fix bug
See merge request mpv-ipc/mpvipc!3
2022-07-20 15:44:23 +00:00
jole
9fde540089
do not panic on message without event field
...
intead discard it and try again
2022-07-19 21:27:02 +02:00
jole
fded248b7e
minor cleanup: run_mpv_command()
2022-07-19 21:07:20 +02:00
jole
71b148cce4
auto formatting
2022-07-19 21:06:47 +02:00
jole
be2132735b
remove comments
2022-07-19 21:06:34 +02:00
jole
cc9f2cae53
fix potential bug
...
could potentially return MpvError("success")
2022-07-19 21:00:30 +02:00
jole
fde2bce07d
clean up get_mpv_property_string()
2022-07-19 20:54:44 +02:00
jole
8b5d3bc0fd
clean up listen()
2022-07-19 20:34:11 +02:00
Jonas Frei
442f121b2e
Using _isize_ instead of _usize_ for observation as per mpv documentation
2022-07-10 20:59:52 +02:00
Jonas Frei
f499d730e8
Bump to 1.2.0, using newest dependencies
2022-07-10 15:34:14 +02:00
Jonas Frei
1c9e32671e
Updated examples to use adapted observe command
2022-07-10 15:32:04 +02:00
Jonas Frei
b21f0c804b
Added Observe/Unobserve MpvCommand.
...
Closes #2
2022-07-10 15:23:58 +02:00
Jonas Frei
ea941433b0
Publishing newest master, bumping version
2020-10-24 07:01:14 +02:00
Jonas Frei
ac2d94754c
Merge branch 'fixes' into 'master'
...
Custom commands + impl std::error::Error
See merge request mpv-ipc/mpvipc!2
2019-11-04 17:04:20 +00:00
Christoph Herzog
9552cad8ef
Add method to call custom commands
2019-10-30 01:13:52 +01:00
Christoph Herzog
8e47f52803
Implement std::error::Error for Error
2019-10-30 01:11:44 +01: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
456fa2ea4d
Merge branch 'master' of gitlab.com:mpv-ipc/mpvipc
2019-06-20 06:01:16 +02:00
Jonas Frei
5b28c95a0a
Included observation ID in PropertyChange event
2019-06-20 06:00:44 +02:00
Jonas Frei
b8590c2ae3
Included observation ID in PropertyChange event
2019-06-20 05:58:31 +02:00
Jonas Frei
d5ecc48b1d
Changed e-Mail address and removed wildcard dependency
2019-06-19 20:53:51 +02:00
Jonas Frei
30b1e4c190
Increased version to 1.1.6
2019-06-19 20:46:27 +02:00
Jonas Frei
a4bcf78229
Merge branch 'fixes' into 'master'
...
Misc improvements to this crate
See merge request mpv-ipc/mpvipc!1
2019-06-19 17:52:58 +00: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