+ if not self.plugin_conf:
+ return
+ self.mode = self.plugin_conf.get('flavour', None)
+ if self.mode not in ['pure', 'sensible', 'genre']:
+ self.log.warning('Bad value for flavour, '
+ '{} not in ["pure", "sensible", "genre"]'.format(self.mode))
+ self.mode = 'pure'
+
+ def get_played_artist(self,):
+ """Constructs list of already played artists.