tagpatch
CLI tool which automatically applies common/repetitive patches to music tags. You should use a GUI tool like KDE's Kid3 for complicated patches.
Install
From GitHub
sudo wget https://github.com/IceWreck/tagpatch/releases/download/v0.1.3/tagpatch-v0.1.3 \
-O /usr/local/bin/tagpatch && sudo chmod +x /usr/local/bin/tagpatch
Using uv
uvx tagpatch
Using pip
pip install tagpatch
It's recommended to install this with --user or inside a venv. You can also use pipx or uvx.
Example
tagpatch embed-lrc -n -s ~/Music
The changes will be highlighted in red. Confirm to continue.
Usage
$ tagpatch
Usage: tagpatch [OPTIONS] COMMAND [ARGS]...
CLI tool which applies common patches to music tags.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy │
│ it or customize the installation. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ artist-name A patch which replaces existing delimiters in the `Artist` │
│ tag with the `/` separator. │
│ embed-lrc A patch which embeds .lrc files of the same name into the │
│ track file. │
│ download-lrc A patch which downloads .lrc files from lrclib.net if not │
│ present. │
╰──────────────────────────────────────────────────────────────────────────────╯
$ tagpatch embed-lrc --help
Usage: tagpatch embed-lrc [OPTIONS]
A patch which embeds .lrc files of the same name into the track file.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --src -s PATH [default: /home/icewreck/Development/tagpatch] │
│ --dst -d PATH │
│ --assume-yes -y │
│ --nested -n │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
$ tagpatch artist-name --help
Usage: tagpatch artist-name [OPTIONS]
A patch which replaces existing delimiters in the `Artist` tag with the `/`
separator.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --src -s PATH [default: /home/icewreck/Development/tagpatch] │
│ --dst -d PATH │
│ --assume-yes -y │
│ --nested -n │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
$ tagpatch download-lrc --help
Usage: tagpatch download-lrc [OPTIONS]
A patch which downloads .lrc files from lrclib.net if not present.
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --src -s PATH [default: /home/icewreck/Development/tagpatch] │
│ --assume-yes -y │
│ --nested -n │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Release files for tagpatch 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tagpatch-0.1.4.tar.gz | 3.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tagpatch-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.4 MB
Release files / tagpatch-0.1.4.tar.gz
| Download URL | tagpatch-0.1.4.tar.gz |
|---|---|
| Size | 3.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f863eb5ee171c00e4a1dd75a64a8e1b222753800e96483a5713ef6f4bd3eccd2
|
|
BLAKE2b-256 checksum How to use checksums |
3974417eaae65d61b9ecc56ffb62793aecc0f72d2fbafed86e525e3999879ed7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|
Release files / tagpatch-0.1.4-py3-none-any.whl
| Download URL | tagpatch-0.1.4-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a4b8114e01b742c8b94f02a685d24fee45bc10f92ff8939a34f1225d6f4a57f
|
|
BLAKE2b-256 checksum How to use checksums |
cc47b9596a188799f9ca6f326bd6109238b0ed87f6cea6163fb3e417c4bdb32b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|