Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 517 Bytes

readme.md

File metadata and controls

20 lines (15 loc) · 517 Bytes

About

This is a Haskell implementation of an mpv client using its JSON IPC API, built with polysemy.

⚠ Under Construction ⚠

Conceptual Example

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