Skip to main content

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

Project description

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 flag 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.

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

The recursive option assumes the following directory structure in the /music directory:

/music/
├─ Artist Name One/
│  ├─ Album/
│  │  ├─ 01 - Track Title.flac

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coverdl-0.2.6.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coverdl-0.2.6-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file coverdl-0.2.6.tar.gz.

File metadata

  • Download URL: coverdl-0.2.6.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/6.1.0-32-amd64

File hashes

Hashes for coverdl-0.2.6.tar.gz
Algorithm Hash digest
SHA256 149e43c74ad4538a3efa2cf99306f1cc4b836c9bedf76aea55e8fef87212514a
MD5 5af3fdf3e5051fe3c0cc8d0d74dcd00b
BLAKE2b-256 7817d07bc9d9f1e9bd8ffc0fed5ea2953e28852537aab34a926c4f69dbc1c74e

See more details on using hashes here.

File details

Details for the file coverdl-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: coverdl-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/6.1.0-32-amd64

File hashes

Hashes for coverdl-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 38bcaff7c88e46817c9817d8d20d248ed98b7005e462ecdb3d1e7321c868a118
MD5 45a6acff873bc5ed8217541dd165081e
BLAKE2b-256 39cb1f267504d5a98486007006e758d5b4a82464cd1bc1f06cad5c47c32a3236

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page