X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Flib%2Fwebserv.py;h=701905b3c9e2da1b8fe5fad3a085808d21549007;hb=d39dc09efbcde303e0ea8375d36d08f0e46bc865;hp=0770ea8ae0afe4b84d96e3df0cdd13923b412016;hpb=c806cb3dbeee61c9c4d023f75a862a33d32ef026;p=mpd-sima.git diff --git a/sima/lib/webserv.py b/sima/lib/webserv.py index 0770ea8..701905b 100644 --- a/sima/lib/webserv.py +++ b/sima/lib/webserv.py @@ -327,7 +327,7 @@ class WebService(AdvancedPlugin): self.log.debug('Found no tracks to queue!') return for track in self.to_add: - self.log.info('%s candidates: %s', track, self.ws.name) + self.log.info('%s plugin chose: %s', self.ws.name, track) def _album(self): """Get albums for album queue mode @@ -356,6 +356,8 @@ class WebService(AdvancedPlugin): msg = ' '.join(['{0}: {1:>3d}'.format(k, v) for k, v in sorted(self.ws.stats.items())]) self.log.debug('http stats: ' + msg) + if not self.to_add: + self.log.info('%s plugin found nothing to queue', self.ws.name) candidates = self.to_add self.to_add = list() if self.plugin_conf.get('queue_mode') != 'album':