Removed deprecated use_unicode parameter from MPDClient

This commit is contained in:
Fabio Manganiello 2023-02-20 20:35:33 +01:00
parent 08553f84b9
commit b4627ecd04

View file

@ -53,7 +53,7 @@ class MusicMpdPlugin(MusicPlugin):
while n_tries > 0: while n_tries > 0:
try: try:
n_tries -= 1 n_tries -= 1
self.client = mpd.MPDClient(use_unicode=True) self.client = mpd.MPDClient()
self.client.connect(self.host, self.port) self.client.connect(self.host, self.port)
return self.client return self.client
except Exception as e: except Exception as e: