Entwickler-Ecke

Open Source Projekte - tone - kommandozeilen audio tagger für Hörbücher


sandreas - Di 30.08.22 07:30
Titel: tone - kommandozeilen audio tagger für Hörbücher
Hallo,

um etwas mehr Feedback zu erhalten, möchte ich hier mal mein aktuelles Projekt vorstellen.

tone [https://github.com/sandreas/tone] ist ein cross platform audio tagger als Kommandozeilenprogramm, geschrieben in C#. Hauptsächlich ist es für Hörbücher gedacht, kann aber auch für die meisten anderen Audio-Formate verwendet werden.

Das Programm kommt als einzelne Datei ohne DLL oder Installer, es kann also sehr leicht ausprobiert werden.

Sourcecode und Download auf github. Da es sich um ein Cross-Plattform-Tool handelt, poste ich hier mal nur die Windows und Linux x64 links, weitere Platformen (raspberry, docker, etc.) sind aber auch verfügbar:

Features:


Damit man sich es besser vorstellen kann, hier mal ein paar Beispiele:

Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
# show all tags for single file (input.mp3)
tone dump input.mp3

# show album only via json format and JSONPath query
tone dump "input.mp3" --format json --query "$.meta.album"

# change title tag
tone tag input.mp3 --meta-title "a title"

# change a custom field, auto-import covers nearby and show debug info on error (--dry-run simulation)
tone tag --debug --auto-import=covers --meta-additional-field "©st3=testing" input.m4b --dry-run

# recursively set tags genre, artist, series, part and title by path pattern (--dry-run simulation)
tone tag --auto-import=covers --auto-import=chapters --path-pattern="audiobooks/%g/%a/%s/%p - %n.m4b" --path-pattern="audiobooks/%g/%a/%z/%n.m4b" audiobooks/ --dry-run


Würde mich sehr über Feedback und Kritik zum Sourcecode freuen.

Fragen beantworte ich natürlich auch gerne.