Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在我正在编写一个脚本,需要从所有这些音频文件中提取艺术家、专辑和标题。目前,我首先尝试使用正则表达式提取它们,如果文件没有很好地命名,我会走慢路并尝试使用 id3 标签获取信息。如果两者都不起作用,则文件将被忽略。
id3 标签只适用于 mp3 文件,所以我想知道是否有人知道任何好的 id3 等效标签读取 python 库以获取其他一些流行的音频文件扩展名。
谢谢!授予
使用诱变剂。它是一个多格式标签读取(和写入)库。