mpd-current-json
Safe HaskellNone
LanguageHaskell2010

Main

Synopsis

Documentation

main :: IO () Source #

Where the program connects to MPD and uses the helper functions to extract values, organize them into a list of key/value pairs, make them a Value using object, then encode it to a conventional JSON ByteString with encodePretty for the pretty-print version.