Unidentified side effect: socket error on daemonize
Anyway, this ain't the place to deal with MPD sockets
wrapper = self._execute
return lambda *args: wrapper(command, args)
wrapper = self._execute
return lambda *args: wrapper(command, args)
- def __del__(self):
- """Avoid hanging sockets"""
- self.disconnect()
-
def _execute(self, command, args):
self._write_command(command, args)
return self._client_wrapper()
def _execute(self, command, args):
self._write_command(command, args)
return self._client_wrapper()