Repository navigation
artwork‐config.ini Configuration Options
William Jacoby edited this page Jul 24, 2026
·
3 revisions
The artwork-config.ini file configures the scripts under artwork-update/. Copy artwork-config.ini.example to artwork-config.ini and fill in your values — the real file is git-ignored since it holds your email and API key.
Below is every section and key actually read by a current script. See each script's doc in artwork-update/DOCS/ for exactly which keys it needs.
This is a separate config from picard-config.ini, used only by picard_album_processor.sh; see picard-config.ini Configuration Options for that one.
- Description: Your email address, sent as part of the MusicBrainz API user agent string.
- Purpose: Required by MusicBrainz's API usage policy so they can identify and, if needed, contact the application owner.
-
Used by:
mb-cca-id3tocover.py(set but not currently read as a config value —musicbrainzngs.set_useragent()is hardcoded in-script; this key is reserved for that purpose). -
Example:
[musicbrainz] useragent_email = your.email@example.com
- Description: Your Last.fm API key.
-
Purpose: Required to query the Last.fm
album.getinfoendpoint for artwork. -
Used by:
lastfm-id3tocover.py. -
Example:
[lastfm] API_KEY = your_lastfm_api_key
- Description: The minimum acceptable width/height, in pixels, for artwork to be considered valid.
- Purpose: Determines whether an existing cover needs replacing and whether a downloaded image is acceptable.
-
Used by:
mb-cca-id3tocover.py(required — the script exits if this key is missing),deezer-id3tocover.py(required),apple-music-id3tocover.py(optional, defaults to500if omitted). -
Not used by:
lastfm-id3tocover.py(no resolution check — it only fills in albums with no cover at all). -
Example:
[settings] MIN_RES = 500
-
Description: The root directory of your music library, in
ARTIST/ALBUM/[CD]layout. - Purpose: Tells every script where to scan.
-
Used by: every script in
artwork-update/. -
Example:
[paths] rootmusicdir = /home/username/MusicToOrganize/
[musicbrainz] useragent_email = your.email@example.com [lastfm] API_KEY = your_lastfm_api_key [settings] MIN_RES = 500 [paths] rootmusicdir = /home/username/MusicToOrganize/
- Make sure
rootmusicdirpoints to a directory that exists and is readable. - Replace the placeholder values above with your actual email and Last.fm API key.
- Older versions of this file had
[credentials] lastfm-apikey,USE_HIRES,USE_FALLBACK,USE_HIRES_PRIORITY,USE_MUSICBRAINZ,NO_LOW_RES, and a[cover_art_script] TEMP_RESsection. None of those are read by any current script — they belonged to the retiredid3tocovr.py. Remove them if you're carrying over an old config file.