Network.MPD.Applicative.Reflection

libmpd-0.10.0.1: An MPD client library.

Copyright | (c) Joachim Fasting 2012
License | MIT
Maintainer | joachifm@fastmail.fm
Stability | stable
Portability | unportable
Safe Haskell | Safe-Inferred
Language | Haskell2010

Network.MPD.Applicative.Reflection

Description

Reflection.

Synopsis

- commands :: Command [String]
- notCommands :: Command [String]
- tagTypes :: Command [String]
- urlHandlers :: Command [String]
- decoders :: Command [(String, [(String, String)])]
- config :: Command [(String, String)]

# Documentation

commands :: Command [String] #

Get a list of available commands.

notCommands :: Command [String] #

Get a list of unavailable commands (i.e., commands that require an authenticated session).

tagTypes :: Command [String] #

Get a list of available song metadata.

urlHandlers :: Command [String] #

Get a list of available URL handlers.

decoders :: Command [(String, [(String, String)])] #

Get a list of available decoder plugins, with their supported suffixes and MIME types.

config :: Command [(String, String)] #

Get configuration values of interest to a client.

Note: only permitted for clients connected via a unix domain socket (aka "local clients").