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. │
╰──────────────────────────────────────────────────────────────────────────────╯
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tagpatch-0.1.4.tar.gz
(3.4 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tagpatch-0.1.4-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file tagpatch-0.1.4.tar.gz.
File metadata
- Download URL: tagpatch-0.1.4.tar.gz
- Upload date:
- Size: 3.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f863eb5ee171c00e4a1dd75a64a8e1b222753800e96483a5713ef6f4bd3eccd2
|
|
| MD5 |
6f34f3daf8eb68d629d33dc09dff1ac3
|
|
| BLAKE2b-256 |
3974417eaae65d61b9ecc56ffb62793aecc0f72d2fbafed86e525e3999879ed7
|
File details
Details for the file tagpatch-0.1.4-py3-none-any.whl.
File metadata
- Download URL: tagpatch-0.1.4-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a4b8114e01b742c8b94f02a685d24fee45bc10f92ff8939a34f1225d6f4a57f
|
|
| MD5 |
5079d65d5f60635e5e93684958ca68c3
|
|
| BLAKE2b-256 |
cc47b9596a188799f9ca6f326bd6109238b0ed87f6cea6163fb3e417c4bdb32b
|