paracusia v0.2.1 Paracusia.MpdClient.Stickers

Functions related to Stickers.

See also: https://musicpd.org/doc/protocol/stickers.html

Summary

Functions

Returns all stickers for the song at the given URI

Deletes all sticker values from the song at the given URI

Deletes a sticker value from the song at the given URI

Searches inside parent_uri for songs with the given sticker name and returns a list of {uri, value} tuples where value is the sticker value of uri for name

Returns the sticker value for the given URI

Sets the sticker name of uri to value

Functions

all(uri)
all(String.t) :: {:ok, map} | Paracusia.MpdTypes.mpd_error

Returns all stickers for the song at the given URI.

delete(uri)

Deletes all sticker values from the song at the given URI.

delete(uri, name)

Deletes a sticker value from the song at the given URI.

find(parent_uri, name)

Searches inside parent_uri for songs with the given sticker name and returns a list of {uri, value} tuples where value is the sticker value of uri for name.

get(uri, name)

Returns the sticker value for the given URI.

set(uri, name, value)

Sets the sticker name of uri to value.