Skip to content

monego/clitag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clitag

clitag user interace

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.

Install

It can be installed through pip:

$ pip install git+https://codeberg.org/monego/clitag.git

Usage

Set some tags for all audio files in a folder:

$ clitag --artist "Someone" --album "Something" afolder/*.opus

Delete a tag:

$ clitag --delete "genre" -- afolder/*.opus

Use a regular expression to replace something in a tag:

$ clitag --re-title "regexp" "replacement" afolder/*.opus

Autonumber an album:

$ clitag --autonumber afolder/*.opus

Autotitle based on filename. Give it a start, end, and a separator. For e.g. "[tracknumber] - Title - [Date]" use:

$ clitag --autotitle 2 -2 --sep " " afolder/*.opus

or

$ clitag --autotitle 1 -1 --sep "-" afolder/*.opus

. The title has to have the same separator at both ends.

Dependencies

The two dependencies are mutagen and rich.

About

Command-line audio tag processor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages