Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change artwork provider to fanart.tv #3214

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Conversation

nopoz
Copy link
Contributor

@nopoz nopoz commented Jun 14, 2019

Changes artwork provider to fanart.tv

Fixes #3207

last.fm has changed their API so artwork can no longer be retrieved. Only data can be pulled.

When the age of the existing artwork cache expires, headphones tries to grab new artwork from last.fm - which it can't. This has resulted in headphones instances hammering the last.fm API and reaching the API query limit. This change should reduce the amount of API calls to last.fm.

@nopoz
Copy link
Contributor Author

nopoz commented Jun 14, 2019

In order for headphones to pull new artwork for artists/albums that already exist in your db, you might need to clear the headphones.db of existing thumb and album urls, and clear the cache/artwork/ directory of all old artwork files.

  1. stop headphones daemon

  2. open your database:

sqlite3 headphones.db
  1. while in sqlite interactive mode, set all artwork column data to null (remove it)
update albums set ArtworkURL=null;
update albums set ThumbURL=null;
update artists set ArtworkURL=null;
update artists set ThumbURL=null;
  1. delete all old artwork files in the cache/artwork/ directory

  2. start headphones daemon back up

Or just delete your headphones.db file and start from scratch - up to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants