X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fwebserv.py;fp=sima%2Flib%2Fwebserv.py;h=a1f6d99d36f92cdc069839190249f57fa1021f94;hb=6ec7666214b71dc121a0d9b0fdb9ca7d48bda6d5;hp=cff9d6708ca46836383021b38f9a361617d8d288;hpb=c2c435f2d5a6e13d610f91d16764a62ae6cb315a;p=mpd-sima.git diff --git a/sima/lib/webserv.py b/sima/lib/webserv.py index cff9d67..a1f6d99 100644 --- a/sima/lib/webserv.py +++ b/sima/lib/webserv.py @@ -330,8 +330,6 @@ class WebService(Plugin): titles = [t for t in self.ws.get_toptrack(artist)] except WSError as err: self.log.warning('{0}: {1}'.format(self.ws.name, err)) - if self.ws.ratelimit: - self.log.info('{0.name} ratelimit: {0.ratelimit}'.format(self.ws)) for trk in titles: found = self.player.fuzzy_find_track(artist, trk.title) random.shuffle(found) @@ -389,7 +387,7 @@ class WebService(Plugin): self.queue_mode() msg = ' '.join(['{0}: {1:>3d}'.format(k, v) for k, v in sorted(self.ws.stats.items())]) - self.log.debug(msg) + self.log.debug('http stats: ' + msg) candidates = self.to_add self.to_add = list() if self.plugin_conf.get('queue_mode') != 'album':