MPD connection handling.
More...
Go to the source code of this file.
◆ mympd_client_connect()
Connects to mpd and sets initial connection settings
- Parameters
-
| partition_state | pointer to partition state |
- Returns
- true on success, else false
◆ mympd_client_disconnect()
Disconnects from MPD, sends a notification and execute triggers
- Parameters
-
| partition_state | pointer to partition state |
◆ mympd_client_disconnect_all()
| void mympd_client_disconnect_all |
( |
struct t_mympd_state * |
mympd_state | ) |
|
Disconnects all MPD partitions
- Parameters
-
| mympd_state | pointer to central myMPD state |
◆ mympd_client_disconnect_silent()
Disconnects from MPD silently
- Parameters
-
| partition_state | pointer to partition state |
◆ mympd_client_set_connection_options()
| bool mympd_client_set_connection_options |
( |
struct t_partition_state * |
partition_state | ) |
|
Sets mpd connection settings and features
- Parameters
-
| partition_state | pointer to partition state |
- Returns
- true on success, else false