我的一些mp3文件似乎有一个非标准的风格。当我遍历它们时(我必须在我的程序中这样做),我得到了大量这样的警告:
eyed3.id3:WARNING: Non standard genre name: Rock - Punk/Pop-Punk , Rock - Alternative Rock如何防止eyed3打印它们?
编辑:当我加载一个文件时,我会收到这个警告,例如:
mp3_file = eyed3.load( "path to file" ) #I get a warning when I open the 'wrong' file发布于 2014-09-02 07:46:56
您可以将eyed3中的日志级别更改为仅显示错误。试试这个:
eyed3.log.setLevel("ERROR")https://stackoverflow.com/questions/22403189
复制相似问题