Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tek/mpv
Polysemy mpv client
https://github.com/tek/mpv
haskell mpv polysemy video
Last synced: about 2 months ago
JSON representation
Polysemy mpv client
- Host: GitHub
- URL: https://github.com/tek/mpv
- Owner: tek
- Created: 2021-08-08T21:42:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-19T00:14:20.000Z (about 1 year ago)
- Last Synced: 2023-12-19T07:15:09.794Z (about 1 year ago)
- Topics: haskell, mpv, polysemy, video
- Language: Haskell
- Homepage:
- Size: 275 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# About
This is a Haskell implementation of an [mpv] client using its [JSON IPC API](ipc), built with [polysemy].
⚠ Under Construction ⚠
# Conceptual Example
```haskell
prog =
interpretMpvNative do
withMpv do
Mpv.command (Command.Load [relfile|vid.mkv|])
Mpv.command (Command.Seek 50 (SeekFlags Absolute SeekFlags.Percent Exact))
Mpv.command Command.Stop
```[mpv]: https://mpv.io
[ipc]: https://mpv.io/manual/master/#json-ipc
[polysemy]: https://hackage.haskell.org/package/polysemy