def __init__(self, host="localhost", port="6600", password=None):
super().__init__()
def __init__(self, host="localhost", port="6600", password=None):
super().__init__()
# Check against the actual string in artist list
if artist.orig in self.artists:
self.log.debug('found exact match for "%s"' % artist)
# Check against the actual string in artist list
if artist.orig in self.artists:
self.log.debug('found exact match for "%s"' % artist)
# Then proceed with fuzzy matching if got nothing
match = get_close_matches(artist.orig, self.artists, 50, 0.73)
if not match:
# Then proceed with fuzzy matching if got nothing
match = get_close_matches(artist.orig, self.artists, 50, 0.73)
if not match:
self.log.warning('pending commands: {}'.format(self._client._pending))
def remove(self, position=0):
self.log.warning('pending commands: {}'.format(self._client._pending))
def remove(self, position=0):