artfetch
Description
artfetch is primarily aimed at automatically adding artwork to single mp3 files, based on existing tags. It's intended to process a whole directory and optionally its subfolders.
Install
The app can be installed via:
pip install artfetch
Usage
Use it via:
artfetch /path/to/music/folder
After starting the program, it will go through all the files in the specified folder and present a list of matches for each tagged mp3 file, file after file.
In the list you can choose to view the source or the image of each candidate to make sure they are the correct match.
The list will only show results if they have a high enough confidence (above lower-confidence).
It skips the candidate-selection and tags the file automatically if the similarity (selection-confidence) of one of the result is high enough (per default any result with 80% or higher similarity). You can disable this behavior by setting selection-confidence to 1.0.
If you want to use Discogs as a tag source, you need to authenticate the app first with your Discogs account. On first startup, a browser window will open the Discogs OAuth page. After authentication, please copy the code to your clipboard or enter it manually if you use the traditional UI. If you do not want to use Discogs, disable this source in the config file.
Configuration
The config.yaml file (with an explanation of each setting) can be found at:
- Windows:
%appdata%\\Roaming\\artfetch - Unix:
~/.config/app
Settings
If you want a more traditional interface or your terminal does not support the default one, a scrolling interface is available with:
-u or ui: standard
confidence-score: A confidence score (0-1) is used to select the best match based on the ID3 tags. Theselection-confidencesets a threshold over which the highest-ranking candidate is automatically selected. Set it to1.0to disable this feature.lower-confidence: Thelower-confidencedoes the opposite and throws out all results with a lower score than it. This results in the file being skipped if there are no suitable matches.auto-mode: You can also enable auto mode, which always selects the best matching candidate with an image attached. This also usesselection-confidenceand skips all matches below it.
Metadata
Release files for artfetch 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| artfetch-0.1.0.tar.gz | 13.7 kB | Without provenance | Details for artfetch-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| artfetch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for artfetch-0.1.0-py3-none-any.whl |
Total release size: 28.5 kB
Release files / artfetch-0.1.0.tar.gz
| Download URL | artfetch-0.1.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3785a5483c2023f34a2385403d34c6f124985633caff68c9ed1fd5ad47ebbb79
|
|
BLAKE2b-256 checksum How to use checksums |
666b8dc6a467daf3a69991c71b42fb9d8739d24abfa68a1ba7397a722469c0e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / artfetch-0.1.0-py3-none-any.whl
| Download URL | artfetch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1784f0cc0a6ae69178424e8da4292cc581313ef5364d3c75f0180864da7fb2fa
|
|
BLAKE2b-256 checksum How to use checksums |
05244b683e2b80b0edbfe93b343dec8fc422a5d27dbe71d8e73f6e2bd3263c8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for artfetch 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.