From 164c3cacbc001a7f22108e5ea1468763388c760b Mon Sep 17 00:00:00 2001 From: rembo10 Date: Wed, 9 Feb 2022 17:51:12 +0530 Subject: [PATCH] Disable last.fm getSimilar in importer --- headphones/importer.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/headphones/importer.py b/headphones/importer.py index 08953d79..cb63e227 100644 --- a/headphones/importer.py +++ b/headphones/importer.py @@ -102,12 +102,13 @@ def artistlist_to_mbids(artistlist, forced=False): myDB.action('DELETE from newartists WHERE ArtistName=?', [artist]) # Update the similar artist tag cloud: - logger.info('Updating artist information from Last.fm') + # TODO: Fix last.fm api + # logger.info('Updating artist information from Last.fm') - try: - lastfm.getSimilar() - except Exception as e: - logger.warn('Failed to update artist information from Last.fm: %s' % e) + # try: + # lastfm.getSimilar() + # except Exception as e: + # logger.warn('Failed to update artist information from Last.fm: %s' % e) def addArtistIDListToDB(artistidlist):