fde2bce07d
clean up get_mpv_property_string()
jole
2022-07-19 20:54:44 +02:00
8b5d3bc0fd
clean up listen()
jole
2022-07-19 20:34:11 +02:00
442f121b2e
Using _isize_ instead of _usize_ for observation as per mpv documentation
Jonas Frei
2022-07-10 20:59:52 +02:00
f499d730e8
Bump to 1.2.0, using newest dependencies
Jonas Frei
2022-07-10 15:34:14 +02:00
1c9e32671e
Updated examples to use adapted observe command
Jonas Frei
2022-07-10 15:32:04 +02:00
b21f0c804b
Added Observe/Unobserve MpvCommand.
Jonas Frei
2022-07-10 15:16:11 +02:00
ea941433b0
Publishing newest master, bumping version
Jonas Frei
2020-10-24 07:01:14 +02:00
ac2d94754c
Merge branch 'fixes' into 'master'
Jonas Frei
2019-11-04 17:04:20 +00:00
9552cad8ef
Add method to call custom commands
Christoph Herzog
2019-10-30 01:13:52 +01:00
8e47f52803
Implement std::error::Error for Error
Christoph Herzog
2019-10-30 01:11:44 +01:00
cb5ad88544
Added list of supported commands as Enum. Cleaned up comments. Pushed version to 1.1.8
Jonas Frei
2019-06-24 20:11:58 +02:00
456fa2ea4d
Merge branch 'master' of gitlab.com:mpv-ipc/mpvipc
Jonas Frei
2019-06-20 06:01:16 +02:00
5b28c95a0a
Included observation ID in PropertyChange event
Jonas Frei
2019-06-20 05:58:31 +02:00
b8590c2ae3
Included observation ID in PropertyChange event
Jonas Frei
2019-06-20 05:58:31 +02:00
d5ecc48b1d
Changed e-Mail address and removed wildcard dependency
Jonas Frei
2019-06-19 20:53:51 +02:00
30b1e4c190
Increased version to 1.1.6
Jonas Frei
2019-06-19 20:46:27 +02:00
a4bcf78229
Merge branch 'fixes' into 'master'
Jonas Frei
2019-06-19 17:52:58 +00:00
b0a62f25eb
Run rustfmt on the entire crate
Emmanuel Gil Peyrot
2019-06-19 00:51:11 +02:00
2911b9bb49
Simplify user code by parsing properties ourselves
Emmanuel Gil Peyrot
2019-06-19 00:30:16 +02:00
f02b2549a0
Add an example copying mpv’s console output
Emmanuel Gil Peyrot
2019-06-18 23:25:30 +02:00
bd18199bad
Add a very simple example fetching properties
Emmanuel Gil Peyrot
2019-06-18 23:02:39 +02:00
8f105eb41f
Add a logging system, using the log crate
Emmanuel Gil Peyrot
2019-06-18 18:34:23 +02:00
c429d88d1b
Property id is an isize, not a usize, and can be absent if 0
Emmanuel Gil Peyrot
2019-06-18 18:32:33 +02:00
939541599f
Remove .unwrap() from examples, they are bad practice
Emmanuel Gil Peyrot
2019-06-18 17:54:38 +02:00
244a34057f
Switch to edition 2018
Emmanuel Gil Peyrot
2019-06-18 17:34:20 +02:00
461a87d377
Add a Debug implementation for Mpv
Emmanuel Gil Peyrot
2019-06-18 17:34:10 +02:00
a14b02fb10
Fix documentation tests, with a hidden use mpvipc::Mpv
Emmanuel Gil Peyrot
2019-06-18 17:33:34 +02:00
a43401b6c4
Replaced trim_right() with trim_end(), as the former is deprecated
Emmanuel Gil Peyrot
2019-06-18 17:32:42 +02:00
05e02c886c
Changed from GitHub to GitLab
Jonas Frei
2017-07-17 20:31:03 +02:00
6133122536
Switch from Github to GitLab
Jonas Frei
2017-07-14 01:21:09 +02:00
c808c2171c
Changed listen functions not to use Sender,Reader but to return a Event-Result. Other minor improvements.
Jonas Frei
2017-06-17 13:03:27 +02:00
1916f60dd6
Added the PropertyChange event. Implemented all variantes of MpvDataType. Documented event_listen
Jonas Frei
2017-06-06 23:08:27 +02:00
56b3e79022
Added documentation link
Jonas Frei
2017-05-31 19:37:17 +02:00
249743158d
Corrected documentation
Jonas Frei
2017-05-31 19:36:12 +02:00
f6941840cb
Bump to 1.1.1
Jonas Frei
2017-05-31 19:33:15 +02:00
57d7226373
Replaced string errors with a proper Error struct. Changed run_command arguments to a slice instead of vector.
Jonas Frei
2017-05-31 19:32:46 +02:00
4ffa94357a
Small correction in Readme example code
Jonas Frei
2017-05-29 17:55:06 +02:00
ea0e60097d
Keeps the socket open for the entire lifetime of the Mpv struct. Now using channels to inform about new events (listen command). Added Readme
Jonas Frei
2017-05-29 17:54:12 +02:00
e797bd871a
Changed listener to work with mpsc
Jonas Frei
2017-05-24 00:13:23 +02:00
caa746575c
Changed licence synthax
Jonas Frei
2017-05-22 19:00:29 +02:00
b43675f631
Stage .gitignore
Jonas Frei
2017-05-22 18:56:11 +02:00
7fffe9b1cd
Initial commit
Jonas Frei
2017-05-22 18:31:20 +02:00