自动id3修改器.mp3文件
titanium-rhythm的Python项目详细描述
钛节奏
Tianium_节奏是一个可以识别MP3文件并自动修改其ID3的Python包。
安装
此软件包要求:
- python-gst0.10-dev
- GStreamer1.0
- libchromaprint工具
- libchromaprint dev
- python-gst-1.0
- ffmpeg
通过以下方式安装上述依赖项和所需的软件包:
$ apt-get update $ apt-get install <PACKAGES> $ pip3 install titanium-rhythm
测试
$ pytest
使用量
>>> from titanium_rhythm.annotate import annotate_file
>>> annotate_file('PMaILC8xG3', filepath)
或
$ sudo python3 main.py