{-# LANGUAGE OverloadedStrings #-}
module Network.MPD.Commands.Mount
( mount
, unmount
, listMounts
, listNeighbors
) where
import qualified Network.MPD.Applicative.Internal as A
import qualified Network.MPD.Applicative.Mount as A
import Network.MPD.Core
mount :: (MonadMPD m) => String -> String -> m ()
mount p = A.runCommand . A.mount p
unmount :: (MonadMPD m) => String -> m ()
unmount = A.runCommand . A.unmount
listMounts :: (MonadMPD m) => m [(String, String)]
listMounts = A.runCommand A.listMounts
listNeighbors :: (MonadMPD m) => m [(String, String)]
listNeighbors = A.runCommand A.listNeighbors