paracusia v0.2.1 Paracusia.MpdClient.Channels

Functions for client to client communication over channels.

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

Summary

Functions

Returns a list of all available channels

Sends a message to the given channel

Subscribe to the channel and create it, if it does not already exist

Unsubscribe from channel

Functions

all()

Returns a list of all available channels.

send_message(channel, message)

Sends a message to the given channel.

subscribe(channel)

Subscribe to the channel and create it, if it does not already exist.

channel is a name consisting of alphanumeric ASCII characters plus underscore, dash, dot and colon.

unsubscribe(channel)

Unsubscribe from channel.