CLI tool which automatically applies common/repetitive patches to music tags. You should use a GUI tool like KDE's Kid3 for complicated patches.
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/tagpatchUsing 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.
tagpatch embed-lrc -n -s ~/MusicThe changes will be highlighted in red. Confirm to continue.
$ 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. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
