Snapcast.LocalClient (Snapcast v0.1.1)

Copy Markdown View Source

Supervises a local snapclient process connected to the embedded Snap server.

The Homebrew/macOS snapclient daemon mode wants a system pid directory, so the client is run in the foreground as an Erlang port. If the process exits, this GenServer starts it again after a short delay.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])