Network.MPD.Applicative.Stickers

libmpd-0.9.0.9: 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.Stickers

Description

Stickers.

Synopsis

- stickerGet :: ObjectType -> String -> String -> Command [String]
- stickerSet :: ObjectType -> String -> String -> String -> Command ()
- stickerDelete :: ObjectType -> String -> String -> Command ()
- stickerList :: ObjectType -> String -> Command [(String, String)]
- stickerFind :: ObjectType -> String -> String -> Command [(String, String)]

# Documentation

stickerGet :: ObjectType -> String -> String -> Command [String] #

Read sticker value for the object specified.

stickerSet :: ObjectType -> String -> String -> String -> Command () #

Add sticker value to the object. Will overwrite existing stickers with the same name.

stickerDelete :: ObjectType -> String -> String -> Command () #

Delete a sticker value from the object. If no sticker name is given, all sticker values attached to the object are deleted.

stickerList :: ObjectType -> String -> Command [(String, String)] #

List stickers for the object.

stickerFind :: ObjectType -> String -> String -> Command [(String, String)] #

Search the sticker database for stickers with the specified name, below the specified directory.