X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Fplugins%2Finternal%2Fechonest.py;fp=sima%2Fplugins%2Finternal%2Fechonest.py;h=b2971db4cbe1eb578ef95d31416cbcc7b338f3e9;hb=774f4b39de0b2ad7aa0e6ed3d7cc739a5456e8c5;hp=d5a5122d8c2c7a12d709fc8e5ac68a3b1a856a2c;hpb=4240fefd9d393365932ff04c063cb31fc5dce85c;p=mpd-sima.git diff --git a/sima/plugins/internal/echonest.py b/sima/plugins/internal/echonest.py index d5a5122..b2971db 100644 --- a/sima/plugins/internal/echonest.py +++ b/sima/plugins/internal/echonest.py @@ -180,6 +180,7 @@ class EchoNest(Plugin): as_artists = simaech.get_similar(artist=current) self.log.debug('Requesting EchoNest for "{0}"'.format(current)) try: + # TODO: let's propagate Artist type [as_art.append(str(art)) for art in as_artists] except EchoNotFound as err: self.log.warning(err) @@ -293,7 +294,7 @@ class EchoNest(Plugin): if not album_to_queue: self.log.info('No album found for "%s"' % artist) continue - self.log.info('last.fm album candidate: {0} - {1}'.format( + self.log.info('echonest album candidates: {0} - {1}'.format( artist, album_to_queue)) nb_album_add += 1 self.to_add.extend(self.player.find_album(artist, album_to_queue))