mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Fix mpd timeout error (#17254)
* Increase mpd client timeout * Update mpd.py
This commit is contained in:
parent
9d56730b8d
commit
6bf3f9e748
@ -79,7 +79,7 @@ class MpdDevice(MediaPlayerDevice):
|
||||
|
||||
# set up MPD client
|
||||
self._client = mpd.MPDClient()
|
||||
self._client.timeout = 5
|
||||
self._client.timeout = 30
|
||||
self._client.idletimeout = None
|
||||
|
||||
def _connect(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user