Skip to content

Commit

Permalink
Readme, Changelog and Version number update for 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
j-holub committed Aug 23, 2017
1 parent f44b07c commit 95f016a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,4 +1,9 @@
# Node-MPV Changelog

* **1.3.0**
* Added **seek** event
* Deprecated `loadFile()` and `loadStream()` which are replaced by `load()``

* **1.2.1**
* Some bugfixes for Windows (Thanks to @vankasteelj)

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "node-mpv",
"version": "1.2.1",
"version": "1.3.0",
"description": "A Node module for MPV",
"main": "index.js",
"scripts": {
Expand Down
13 changes: 13 additions & 0 deletions readme.md
Expand Up @@ -530,6 +530,19 @@ The **Node-MPV** module provides various *events* to notify about changes of the
* **getrequest** \<id, data\> - *deprecated*

Delivers the reply to a function call to the **getProperty** method

* **seek** <timeposition object>

Whenever a `seek()` or `goToPosition()` is called, or some external source searches, this event is emitted providing a **timeposition** object with the following information

```JavaScript
{
start: <timeposition before seeking>,
end: <timeposition after seeking>
}
```

In case the seek can not be finished, for example because the file is changed while seeking, this event is not emitted. It is only emitted when the seeking has successfully finished.

* **statuschange** \<status object\>

Expand Down

0 comments on commit 95f016a

Please sign in to comment.