X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fwebserv.py;h=75b0a38a0b43a1c77038f6051b6cdc66ca39d33e;hb=14a769add6d435a7ad7db4d36074dc79511af4e3;hp=438637affe03ca276202080790a2d67d648d2072;hpb=92860d5ab0d6008fad149eea960de91acd15719a;p=mpd-sima.git diff --git a/sima/lib/webserv.py b/sima/lib/webserv.py index 438637a..75b0a38 100644 --- a/sima/lib/webserv.py +++ b/sima/lib/webserv.py @@ -195,8 +195,6 @@ class WebService(Plugin): self.log.warning('{0}: {1}'.format(self.ws.name, err)) if as_art: self.log.debug('Fetched {0} artist(s)'.format(len(as_art))) - if self.ws.ratelimit: - self.log.info('{0.name} ratelimit: {0.ratelimit}'.format(self.ws)) return as_art def get_recursive_similar_artist(self): @@ -383,6 +381,9 @@ class WebService(Plugin): self.log.debug(repr(self.player.current)) return None self.queue_mode() + msg = ' '.join(['{0}: {1:>3d}'.format(k, v) for + k, v in sorted(self.ws.stats.items())]) + self.log.debug(msg) candidates = self.to_add self.to_add = list() if self.plugin_conf.get('queue_mode') != 'album':