paracusia v0.2.11 Paracusia.MpdClient.Stickers

Functions related to Stickers.

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

Link to this section 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

Link to this section Functions

Returns all stickers for the song at the given URI.

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

Link to this function

delete(uri, name)

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

Link to this function

find(parent_uri, name)
find(String.t(), String.t()) ::
  {:ok, [{String.t(), String.t()}]} | Paracusia.MpdTypes.mpd_error()

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.

Link to this function

set(uri, name, value)

Sets the sticker name of uri to value.