+ # WARNING:
+ # * operation on set will not match against aliases
+ # * composite set w/ mbid set and whitout won't match either
+ queued_artists = {trk.Artist for trk in self.player.queue}
+ if ret & queued_artists:
+ self.log.debug('Removing already queued artists: '
+ '{0}'.format(ret & queued_artists))
+ ret = ret - queued_artists
+ if self.player.current and self.player.current.Artist in ret:
+ self.log.debug('Removing current artist: {0}'.format(self.player.current.Artist))
+ ret = ret - {self.player.current.Artist}