Commit Graph

73 Commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
bd18199bad Add a very simple example fetching properties 2019-06-18 23:02:39 +02:00
Emmanuel Gil Peyrot
8f105eb41f Add a logging system, using the log crate 2019-06-18 18:34:23 +02:00
Emmanuel Gil Peyrot
c429d88d1b Property id is an isize, not a usize, and can be absent if 0 2019-06-18 18:32:45 +02:00
Emmanuel Gil Peyrot
939541599f Remove .unwrap() from examples, they are bad practice 2019-06-18 18:05:37 +02:00
Emmanuel Gil Peyrot
244a34057f Switch to edition 2018 2019-06-18 17:34:20 +02:00
Emmanuel Gil Peyrot
461a87d377 Add a Debug implementation for Mpv 2019-06-18 17:34:10 +02:00
Emmanuel Gil Peyrot
a14b02fb10 Fix documentation tests, with a hidden use mpvipc::Mpv 2019-06-18 17:33:34 +02:00
Emmanuel Gil Peyrot
a43401b6c4 Replaced trim_right() with trim_end(), as the former is deprecated 2019-06-18 17:32:42 +02:00
Jonas Frei
05e02c886c Changed from GitHub to GitLab 2017-07-17 20:31:03 +02:00
Jonas Frei
6133122536 Switch from Github to GitLab 2017-07-14 01:21:09 +02:00
Jonas Frei
c808c2171c Changed listen functions not to use Sender,Reader but to return a Event-Result. Other minor improvements. 2017-06-17 13:03:27 +02:00
Jonas Frei
1916f60dd6 Added the PropertyChange event. Implemented all variantes of MpvDataType. Documented event_listen 2017-06-06 23:08:27 +02:00
Jonas Frei
ed9f35ba5d Added Mpv type, added Event enum, removed Command trait 2017-06-01 19:30:52 +02:00
Jonas Frei
56b3e79022 Added documentation link 2017-05-31 19:37:17 +02:00
Jonas Frei
249743158d Corrected documentation 2017-05-31 19:36:12 +02:00
Jonas Frei
f6941840cb Bump to 1.1.1 2017-05-31 19:33:15 +02:00
Jonas Frei
57d7226373 Replaced string errors with a proper Error struct. Changed run_command arguments to a slice instead of vector. 2017-05-31 19:32:46 +02:00
Jonas Frei
4ffa94357a Small correction in Readme example code 2017-05-29 17:55:06 +02:00
Jonas Frei
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 2017-05-29 17:54:12 +02:00
Jonas Frei
e797bd871a Changed listener to work with mpsc 2017-05-24 00:13:23 +02:00
Jonas Frei
caa746575c Changed licence synthax 2017-05-22 19:00:29 +02:00
Jonas Frei
b43675f631 Stage .gitignore 2017-05-22 18:56:11 +02:00
Jonas Frei
7fffe9b1cd Initial commit 2017-05-22 18:31:20 +02:00