{-# LANGUAGE OverloadedStrings #-}
module Network.MPD.Commands.Reflection
( commands
, notCommands
, tagTypes
, urlHandlers
, decoders
, config
) where
import qualified Network.MPD.Applicative.Internal as A
import qualified Network.MPD.Applicative.Reflection as A
import Network.MPD.Core
commands :: MonadMPD m => m [String]
commands :: forall (m :: * -> *). MonadMPD m => m [String]
commands = Command [String] -> m [String]
forall (m :: * -> *) a. MonadMPD m => Command a -> m a
A.runCommand Command [String]
A.commands
notCommands :: MonadMPD m => m [String]
notCommands :: forall (m :: * -> *). MonadMPD m => m [String]
notCommands = Command [String] -> m [String]
forall (m :: * -> *) a. MonadMPD m => Command a -> m a
A.runCommand Command [String]
A.notCommands
tagTypes :: MonadMPD m => m [String]
tagTypes :: forall (m :: * -> *). MonadMPD m => m [String]
tagTypes = Command [String] -> m [String]
forall (m :: * -> *) a. MonadMPD m => Command a -> m a
A.runCommand Command [String]
A.tagTypes
urlHandlers :: MonadMPD m => m [String]
urlHandlers :: forall (m :: * -> *). MonadMPD m => m [String]
urlHandlers = Command [String] -> m [String]
forall (m :: * -> *) a. MonadMPD m => Command a -> m a
A.runCommand Command [String]
A.urlHandlers
decoders :: MonadMPD m => m [(String, [(String, String)])]
decoders :: forall (m :: * -> *).
MonadMPD m =>
m [(String, [(String, String)])]
decoders = Command [(String, [(String, String)])]
-> m [(String, [(String, String)])]
forall (m :: * -> *) a. MonadMPD m => Command a -> m a
A.runCommand Command [(String, [(String, String)])]
A.decoders
config :: MonadMPD m => m [(String, String)]
config :: forall (m :: * -> *). MonadMPD m => m [(String, String)]
config = Command [(String, String)] -> m [(String, String)]
forall (m :: * -> *) a. MonadMPD m => Command a -> m a
A.runCommand Command [(String, String)]
A.config