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 | None
Language | Haskell2010

Network.MPD.Applicative.Status

Description

Querying MPD's status.

Synopsis

- clearError :: Command ()
- currentSong :: Command (Maybe Song)
- idle :: [Subsystem] -> Command [Subsystem]
- noidle :: Command ()
- status :: Command Status
- stats :: Command Stats

# Documentation

clearError :: Command () Source #

Clear current error message in status.

currentSong :: Command (Maybe Song) Source #

Song metadata for currently playing song, if any.

idle :: [Subsystem] -> Command [Subsystem] Source #

Wait until there is noteworthy change in one or more of MPD's subsystems. When active, only `noidle` commands are allowed.

noidle :: Command () Source #

Cancel an `idle` request.

status :: Command Status Source #

Get the current status of the player.

stats :: Command Stats Source #

Get database statistics.