A CLI audio tag editor and processor written in Python 3.x using the mutagen module, with support for regular expressions and autonumbering. It's more intended for batch processing tags.
It can be installed through pip:
$ pip install git+https://codeberg.org/monego/clitag.gitSet some tags for all audio files in a folder:
$ clitag --artist "Someone" --album "Something" afolder/*.opusDelete a tag:
$ clitag --delete "genre" -- afolder/*.opusUse a regular expression to replace something in a tag:
$ clitag --re-title "regexp" "replacement" afolder/*.opusAutonumber an album:
$ clitag --autonumber afolder/*.opusAutotitle based on filename. Give it a start, end, and a separator. For e.g. "[tracknumber] - Title - [Date]" use:
$ clitag --autotitle 2 -2 --sep " " afolder/*.opusor
$ clitag --autotitle 1 -1 --sep "-" afolder/*.opus. The title has to have the same separator at both ends.
The two dependencies are mutagen and rich.