<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Network.MPD</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >Network.MPD</DIV ><DIV CLASS="mini-synopsis" ><H1 >Basic data types </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Network-MPD.html#t%3AMonadMPD" TARGET="main" >MonadMPD</A > m</DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AMPD" TARGET="main" >MPD</A > a</DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AMPDError" TARGET="main" >MPDError</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AACKType" TARGET="main" >ACKType</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3AResponse" TARGET="main" >Response</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3AHost" TARGET="main" >Host</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3APort" TARGET="main" >Port</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3APassword" TARGET="main" >Password</A > </DIV > <H1 >Connections </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AwithMPD" TARGET="main" >withMPD</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AwithMPDEx" TARGET="main" >withMPDEx</A ></DIV > <H1 >Command related data types </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3AArtist" TARGET="main" >Artist</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3AAlbum" TARGET="main" >Album</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3ATitle" TARGET="main" >Title</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3APlaylistName" TARGET="main" >PlaylistName</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3APath" TARGET="main" >Path</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AMeta" TARGET="main" >Meta</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AObjectType" TARGET="main" >ObjectType</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Network-MPD.html#t%3ASeconds" TARGET="main" >Seconds</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3APLIndex" TARGET="main" >PLIndex</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AState" TARGET="main" >State</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3ASubsystem" TARGET="main" >Subsystem</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AReplayGainMode" TARGET="main" >ReplayGainMode</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3ACount" TARGET="main" >Count</A > </DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AdefaultCount" TARGET="main" >defaultCount</A ></DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3ADevice" TARGET="main" >Device</A > </DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AdefaultDevice" TARGET="main" >defaultDevice</A ></DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AStats" TARGET="main" >Stats</A > </DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AdefaultStats" TARGET="main" >defaultStats</A ></DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3ASong" TARGET="main" >Song</A > </DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AdefaultSong" TARGET="main" >defaultSong</A ></DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AStatus" TARGET="main" >Status</A > </DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AdefaultStatus" TARGET="main" >defaultStatus</A ></DIV > <H1 >Query interface </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Network-MPD.html#t%3AQuery" TARGET="main" >Query</A > </DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3A%3D%3F" TARGET="main" >(=?)</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3A%3C%26%3E" TARGET="main" >(<&>)</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aanything" TARGET="main" >anything</A ></DIV > <H1 >Querying MPD's status </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AclearError" TARGET="main" >clearError</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AcurrentSong" TARGET="main" >currentSong</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aidle" TARGET="main" >idle</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Anoidle" TARGET="main" >noidle</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Astatus" TARGET="main" >status</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Astats" TARGET="main" >stats</A ></DIV > <H1 >Playback options </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aconsume" TARGET="main" >consume</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Acrossfade" TARGET="main" >crossfade</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Arandom" TARGET="main" >random</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Arepeat" TARGET="main" >repeat</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AsetVolume" TARGET="main" >setVolume</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Asingle" TARGET="main" >single</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AreplayGainMode" TARGET="main" >replayGainMode</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AreplayGainStatus" TARGET="main" >replayGainStatus</A ></DIV > <H1 >Controlling playback </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Anext" TARGET="main" >next</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Apause" TARGET="main" >pause</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aplay" TARGET="main" >play</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aprevious" TARGET="main" >previous</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aseek" TARGET="main" >seek</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Astop" TARGET="main" >stop</A ></DIV > <H1 >The current playlist </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aadd" TARGET="main" >add</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aadd_" TARGET="main" >add_</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AaddId" TARGET="main" >addId</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aclear" TARGET="main" >clear</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Adelete" TARGET="main" >delete</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Amove" TARGET="main" >move</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aplaylist" TARGET="main" >playlist</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplaylistFind" TARGET="main" >playlistFind</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplaylistInfo" TARGET="main" >playlistInfo</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplaylistSearch" TARGET="main" >playlistSearch</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplChanges" TARGET="main" >plChanges</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplChangesPosId" TARGET="main" >plChangesPosId</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Ashuffle" TARGET="main" >shuffle</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aswap" TARGET="main" >swap</A ></DIV > <H1 >Stored playlist </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlistPlaylist" TARGET="main" >listPlaylist</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlistPlaylistInfo" TARGET="main" >listPlaylistInfo</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlistPlaylists" TARGET="main" >listPlaylists</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aload" TARGET="main" >load</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplaylistAdd" TARGET="main" >playlistAdd</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplaylistAdd_" TARGET="main" >playlistAdd_</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplaylistClear" TARGET="main" >playlistClear</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplaylistDelete" TARGET="main" >playlistDelete</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AplaylistMove" TARGET="main" >playlistMove</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Arename" TARGET="main" >rename</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Arm" TARGET="main" >rm</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Asave" TARGET="main" >save</A ></DIV > <H1 >The music database </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Acount" TARGET="main" >count</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Afind" TARGET="main" >find</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AfindAdd" TARGET="main" >findAdd</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Alist" TARGET="main" >list</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlistAll" TARGET="main" >listAll</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlistAllInfo" TARGET="main" >listAllInfo</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlsInfo" TARGET="main" >lsInfo</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Asearch" TARGET="main" >search</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aupdate" TARGET="main" >update</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Arescan" TARGET="main" >rescan</A ></DIV > <H1 >Stickers </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AstickerGet" TARGET="main" >stickerGet</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AstickerSet" TARGET="main" >stickerSet</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AstickerDelete" TARGET="main" >stickerDelete</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AstickerList" TARGET="main" >stickerList</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AstickerFind" TARGET="main" >stickerFind</A ></DIV > <H1 >Connection </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aclose" TARGET="main" >close</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Akill" TARGET="main" >kill</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Apassword" TARGET="main" >password</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aping" TARGET="main" >ping</A ></DIV > <H1 >Audio output devices </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AdisableOutput" TARGET="main" >disableOutput</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AenableOutput" TARGET="main" >enableOutput</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aoutputs" TARGET="main" >outputs</A ></DIV > <H1 >Reflection </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Acommands" TARGET="main" >commands</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AnotCommands" TARGET="main" >notCommands</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AtagTypes" TARGET="main" >tagTypes</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AurlHandlers" TARGET="main" >urlHandlers</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Adecoders" TARGET="main" >decoders</A ></DIV > <H1 >Extensions/shortcuts </H1 > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AaddMany" TARGET="main" >addMany</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AdeleteMany" TARGET="main" >deleteMany</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Acomplete" TARGET="main" >complete</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Acrop" TARGET="main" >crop</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Aprune" TARGET="main" >prune</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlsDirs" TARGET="main" >lsDirs</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlsFiles" TARGET="main" >lsFiles</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlsPlaylists" TARGET="main" >lsPlaylists</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlistArtists" TARGET="main" >listArtists</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlistAlbums" TARGET="main" >listAlbums</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AlistAlbum" TARGET="main" >listAlbum</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AgetPlaylist" TARGET="main" >getPlaylist</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Atoggle" TARGET="main" >toggle</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3AupdateId" TARGET="main" >updateId</A ></DIV > <DIV CLASS="decl" ><A HREF="Network-MPD.html#v%3Avolume" TARGET="main" >volume</A ></DIV ></DIV ></DIV ></BODY ></HTML >