Skip to main content

coverdl

A command-line tool for downloading high quality album cover art.

Installation

pip install coverdl

Usage

Download cover art from album directory:

coverdl /artist/album/

Download cover art using track file:

coverdl "/artist/album/01 - Track Title.flac"

By default, the Apple Music and Deezer providers will be used to find cover art. You can specify a different provider like so:

coverdl -p itunes /artist/album

You can specify more than one provider by passing the -p option more than once:

coverdl -p applemusic -p itunes /artist/album

The order in which the providers are specified matters, as they will be used for priority ranking.

Click here for a list of providers.

Upgrading

coverdl will not download cover art for albums that already have them. Instead, you can upgrade them to a better quality version.

The --upgrade option allows you to upgrade your existing cover art to a better quality version (if found) by comparing the similarity of both images. This allows you to safely upgrade your existing cover art while being sure that a different version won't be downloaded by mistake:

coverdl --upgrade /artist/album/

Your old cover art will not be deleted, it will be renamed: e.g cover.jpg to cover.jpg.bk To tell coverdl to delete it, pass the --delete-old-covers option.

Use the --max-size option (in MBs) to prevent coverdl from replacing cover art that exceed a certain size.

Use --max-upgrade-size (in MBs) to prevent downloading cover art that exceed a certain size.

Use the --strict option to ensure only perfect comparisons will be upgraded. For example, if your cover art has an explicit advisory label in the cover art while the upgrade candidate doesn't, --strict will block the upgrade.

Use the --replace-non-square option to also upgrade cover arts that aren't perfectly square. This can be useful to replace cover art that have bad white lines on the edges or to replace images that aren't really cover art.

Advanced

Piping

coverdl supports passing multiple paths to it via the pipe operator. This can be useful for advanced use cases, for example:

If your library structure follows ARTIST/ALBUM, you could download or upgrade cover art for albums only added within the last day:

find music/ -mindepth 2 -maxdepth 2 -mtime -1 -type d | coverdl

Which can be useful as a cron job to speed up performance without using -r.

Downloading for an entire music library

If you have a large music library and you wish to download or upgrade cover art for all albums, use the -r/--recursive option while passing the path to your media library:

coverdl -r /music

When using --upgrade

Using --upgrade alongside -r/--recursive can be slow, and each run of the command will take the same length of time.

You can tell coverdl to skip already upgraded cover art on the next run by passing a cache file:

coverdl -r --upgrade /music --cache /PATH/TO/CACHE/cache.txt

Release files for coverdl 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coverdl 0.4.3
File Size Uploaded
coverdl-0.4.3.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coverdl 0.4.3
File Interpreter ABI Platform
coverdl-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 26.4 kB

Release files / coverdl-0.4.3.tar.gz

Download URL coverdl-0.4.3.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
39c038353dbac2c8e8d1f941a0b623cc94b1d68157fa0005d688a19cb03dda5e
BLAKE2b-256 checksum
How to use checksums
3b0b3e2b94e6fdb3940aab7dc4dff8e135c661ef8b42870cbf8cef8d43009b8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.5 Linux/6.12.43+deb13-amd64

Release files / coverdl-0.4.3-py3-none-any.whl

Download URL coverdl-0.4.3-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13dde8bfdb7e33ee8b5e0c91ca06eea8e3b945b529e2c0db62aef9e2c23df17e
BLAKE2b-256 checksum
How to use checksums
073486f6c62227f8bda42be715e937ee9c036ae84fb529d539c980d54c4b9ee5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.5 Linux/6.12.43+deb13-amd64

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.10

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page