if not tags_config.get('filter', None) and \
config_tags.isdisjoint(sup_tags):
log.warning('Found no config for Tags plugin! '
if not tags_config.get('filter', None) and \
config_tags.isdisjoint(sup_tags):
log.warning('Found no config for Tags plugin! '
return False
if config_tags.difference(sup_tags):
log.error('Found unsupported tag in config: %s',
return False
if config_tags.difference(sup_tags):
log.error('Found unsupported tag in config: %s',
if self.plugin_conf['filter']:
# Use window to limit response size
self.player.find(self.plugin_conf['filter'], "window", (0, 1))
if self.plugin_conf['filter']:
# Use window to limit response size
self.player.find(self.plugin_conf['filter'], "window", (0, 1))
for artist in artists:
self.log.debug('looking for %s', artist)
tracks = self.player.find_tracks(artist)
for artist in artists:
self.log.debug('looking for %s', artist)
tracks = self.player.find_tracks(artist)