音乐库管理器和ID3标记管理器
longtang的Python项目详细描述
龙腾是什么?
longtang是一个基于actors model的命令行软件,能够将任何草率的mp3收藏处理成一个组织良好、易于定位的标记媒体库。
我为什么要用它?
因为这样可以节省大量的时间:
- 用正确的id3tag信息标记所有mp3文件。
- 下载专辑封面艺术(新功能!!)
- 解压缩并标记任何带有音乐的zip、rar或7z文件。
- 创建由艺术家和相册组织的分层媒体树。
- 以一种简单而清晰的语法命名所有文件。
- 检测阻止文件准确分类的标记问题。
- 避免在任何便携式音乐播放器(通常发生在创造性禅宗播放器中,举个例子)中出现任何滞留或未知的音乐文件,这些文件占用存储空间,不容易被检测到。
安装指南:
在继续安装之前,请检查您的系统是否已安装以下软件包:
- python 2.7.x和头文件(python dev)
- chromaprint工具(libchromaprint工具)
- libevent头(libevent dev)
- libxml(libxml2 dev和libxslt dev)
- 系统中提供的UNRAR和7Z命令path
之后,您可以以两种方式继续安装:从源代码安装,或者使用pip实用程序从Pypi安装。
一。使用源代码
签出源代码:
git clone https://bitbucket.org/gszeliga/longtang.git
按如下方式执行设置实用程序:
python setup.py install
2.使用pip
只需在命令行中键入:
pip install longtang
命令指南:
主二进制文件名为longtang(如您所想象的),它接受以下参数:
--source Source path where all the to-be-processed files are located.
--target Target path where the hierarchical structure will be created.
--verbosity Level of debug information to be printed. Accepted values are: DEBUG, INFO, WARN or ERROR. Default value is NONE.
--override-tags (Optional) Whether you want Longtang to override any id3tag information on the source music files. Bear in mind that if the amount of files is high it will turn the process to be real slow.
--offline (Optional) Since any missing id3tag information will be retrieved using Acoustid service, maybe you might be interested in not performing this action and just handle your media collection with the already existing id3 information and point out any failure during the process.
--disable-cover-art (Optional) Disables resolution of all cover art from all matched artists and albums.
--help Prints out help information.
接下来是什么?
好吧,我现在有很多想法,但短期内,我的想法是:
- 支持更多音乐格式:ogg、mpc、flac等。
- 将源代码移植到Python3中。
- 将gevent替换为multiprocessing库,以便获得执行parallelism(查看分支features/multiprocessing了解更多详细信息)。
错误和反馈
您可以通过gszeliga@gmail.com与我联系,也可以在twitter上关注我:@gszeliga