{-# LANGUAGE OverloadedStrings #-}
module Network.MPD.Applicative.Output
( disableOutput
, enableOutput
, outputs
) where
import Network.MPD.Applicative.Internal
import Network.MPD.Commands.Arg hiding (Command)
import Network.MPD.Commands.Parse
import Network.MPD.Commands.Types
disableOutput :: Int -> Command ()
disableOutput n = Command emptyResponse ["disableoutput" <@> n]
enableOutput :: Int -> Command ()
enableOutput n = Command emptyResponse ["enableoutput" <@> n]
outputs :: Command [Device]
outputs = Command (liftParser parseOutputs) ["outputs"]