Small correction in Readme example code
This commit is contained in:
parent
ea0e60097d
commit
4ffa94357a
|
@ -28,6 +28,8 @@ $ mpv --input-ipc-server=/tmp/mpvsocket --idle
|
||||||
Here is a small code example which connects to the socket /tmp/mpvsocket and toggles playback.
|
Here is a small code example which connects to the socket /tmp/mpvsocket and toggles playback.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
extern crate mpvipc;
|
||||||
|
|
||||||
use mpvipc::*;
|
use mpvipc::*;
|
||||||
use std::sync::mpsc::channel;
|
use std::sync::mpsc::channel;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue