展开ID3流派元数据
genre-expand的Python项目详细描述
流派展开
使用wikipedia展开id3流派元数据
使用从维基百科提取的数据更新或替换MP3文件的ID3类型元数据。可以递归地扩展音乐目录的元数据,无论是否需要用户确认允许用户进行主题消歧以提高精度,还可以选择只填充缺少的类型。
安装
pip install genre-expand
或
pip install git+https://github.com/huntrar/genre-expand.git#egg=genre-expand
或
git clone https://github.com/huntrar/genre-expand cd genre-expand python setup.py install
使用量
usage: genre-expand.py [-h] -d SEARCH_DIR [-r] [-l LEVEL] [-f] [-s] [-m] [-q] [-v] expand ID3 genre metadata optional arguments: -h, --help show this help message and exit -d SEARCH_DIR, --search-dir SEARCH_DIR directory to search -r, --recursive recursively search directories -l LEVEL, --level LEVEL depth of directories to recurse -f, --force do not prompt user ever -s, --force-save save files without prompt -m, --missing-only only expand missing genres -q, --quiet suppress status and error messages -v, --version display current version
注释
- 选择“force”选项将不再需要提示,但也将避免在选项不明确时进行更改。如果要消除主题的歧义,但跳过其他确认,请使用“强制保存”选项
- “仅缺失”选项仅用于扩展带有缺失类型元数据的标签,防止对现有流派的重写。
新闻
0.0.4
- 在requirements.txt中也添加了6个
- 添加了丢失的未来导入
0.0.3
- 将主文件重命名为genre_expand.py
0.0.2
- 脚本入口点的固定位置
- 在依赖项需求中添加了六个模块
0.0.1
- Initial commit