No description
Find a file
2025-09-25 12:29:39 +02:00
examples Added pause function to complex example 2023-02-14 22:00:19 +02:00
src Added license file, readme and updated dependencies 2022-09-18 20:45:54 +02:00
tests first commit 2020-06-12 15:05:21 +02:00
.gitignore Added more complex example 2022-10-18 09:36:09 +02:00
LICENSE Added license file, readme and updated dependencies 2022-09-18 20:45:54 +02:00
mpv.nimble Version bump 2022-10-18 09:38:49 +02:00
README.md Update dependencies 2025-09-25 12:29:39 +02:00

Nim MPV

Nim bindings for libmpv. Control MPV with Nim!

Take note that this library is just the bindings, you still need to look at the MPV documentation to use it.

Examples

There are a few examples you can run inside the examples directory.

Simple Example

simple.nim shows you a simple example on how to use the library, primarily focused on getting a file to be played with MPV.

Complex Example

complex.nim shows you a slightly more complex example of how you can use this library, this includes getting keyboard input (using ncurses), then using that input to manipulate MPV.

Dependencies