tagtool允许您执行大规模id3标记清理操作。

tagtool的Python项目详细描述


下载MP3歌曲的大量清除元数据。

我把最初的版本写成simple script 刚刚奏效。这个工具后来成为命令行中的一个练习 我从未做过的应用程序设计。它使用 docopt(以及一些允许 子命令)

安装

pip install tagtool

您还可以使用`pipsi<;https://github.com/mitsuhiko/pipsi>;`` 安装。

用法

Usage:
    tagtool [--no-skip] <command> [<args>...]

Commands:
    replace     Perform regex replace on tags
    remove      Remove tag frames
    rename      Rename files to format: "%TrackTitle%.mp3"
    help        Read about a specific command

Options:
    --no-skip   Do not skip already tagged files

命令

``替换`

Perform regex replace on tags like artist name, track title etc.

Usage:
    tagtool replace --pattern=<pattern> [--repl=<replacement>] <file>...
                    [--prune] [--frames=<tags>] [--frames_skip=<tags>]

Options:
    <file>                       MP3 file(s) to process
    --pattern=<pattern>          Pattern to search for
    --repl=<replacement>         Replacement text
    --prune                      Remove empty frames
    --frames=<frames>            Comma separated list of frames to
                                 restrict replacement to
    --frames_skip=<frames>       Comma separated list of frames to skip

Examples:
    tagtool replace --pattern='\s+\d+\s+' --repl='' --prune SomeSong.mp3 --frames_skip=TOPE,TIT2

``删除`

Remove tag frames.

Usage:
    tagtool remove  --frames=<tags> <file>...
                    [--prefix]

Options:
    <file>                       MP3 file(s) to process
    --frames=<frames>            Comma separated list of frames to remove
    --prefix                     Consider the list of frames as prefixes

Examples:
    tagtool remove --frames=APIC,COMM,USLT *.mp3

``rename`

Rename a file with it's track title.

Usage:
    tagtool rename <file>...

Options:
    <file>                       MP3 file(s) to process

Examples:
    tagtool rename *.mp3

标记修复

tagfix是一个脚本,它使用可用的tagtool命令作为构建 一次阻塞并对文件执行多个清理操作。如果 你可以从songspkdjmaza等。那么这个脚本是给你的。它 从标记中删除所有提及这些网站的内容。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java提高机器学习Rest服务性能   java反转字符的字符串顺序,并使用构造函数将其放入LinkedList   继承为什么Java不支持在方法签名中添加“throws”?   执行DDL alter table if exists任务时发生java错误。城市   java在eclipse中使用CREATETXT并打包在jar中   java AES256与3DES 256密钥检测   具有两个相同类型字段的java JPA实体   java Webapp日志记录设置被忽略   java KeyEventDispatcher可以在一个应用程序中工作,但不能在另一个应用程序中工作   带有Swing和OpenJDK的java PinchZoom   未涉及java AspectJ注释切入点(对于任何注释类型)   java如何在FuseBAI中获取日志文件详细信息   java在Linux上将wstring转换为jstring