isc*_*iad 9 mp3 script id3 command-line macos
我正在寻找一种工具来通过脚本编辑 MP3 中的标签。
这些文件是几个播客的剧集,其中标签在剧集之间不一致:例如,有时专辑或流派标签丢失。该脚本将在下载新剧集后运行以修改标签。
我已经尝试过 id3tool 和 id3v2。
id3v2不支持免费的流派标签,仅提供预定义流派的编号列表。在此列表中,没有“播客”类型。
id3tool仅支持 id3v1,其中字段长度有限。但是有一个选项可以指定自由流派定义。
是否有支持所有必需功能的工具?它应该在 Mac OS X 10.6 下编译。
在mutagen
Python模块配备了一个mid3v2
命令。
mid3v2 --artist "Sigur Rós" *.mp3
你问之前:不,mutagen
不不支持ID3v1的,因为没有正当理由使用这些日子。
只需使用自制程序:
brew install id3lib
Run Code Online (Sandbox Code Playgroud)
示例命令:ide3tag
Usage: id3tag [OPTIONS]... [FILES]...
-h --help Print help and exit
-V --version Print version and exit
-1 --v1tag Render only the id3v1 tag (default=off)
-2 --v2tag Render only the id3v2 tag (default=off)
-aSTRING --artist=STRING Set the artist information
-ASTRING --album=STRING Set the album title information
-sSTRING --song=STRING Set the title information
-cSTRING --comment=STRING Set the comment information
-CSTRING --desc=STRING Set the comment description
-ySTRING --year=STRING Set the year
-tSTRING --track=STRING Set the track number
-TSTRING --total=STRING Set the total number of tracks
-gSHORT --genre=SHORT Set the genre
-w --warning Turn on warnings (for debugging) (default=off)
-n --notice Turn on notices (for debugging) (default=off)
Run Code Online (Sandbox Code Playgroud)
来源:https://apple.stackexchange.com/a/16145/53242
归档时间: |
|
查看次数: |
11563 次 |
最近记录: |