[测试]python-mutagen

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
xiechy
帖子: 1074
注册时间: 2006-01-18 15:01

[测试]python-mutagen

#1

帖子 xiechy » 2006-06-30 1:07

python-mutagen,which the official package is in universes(which means the update routine may be too long for waiting) domain, and the version is 1.2

So I just repackage it with the bleeding edgy 1.5.1
the new version add a command moggsplit , which is right one i need , that's why i do package it :)

btw , the command mid3iconv can fix the error of reading id3 code not in utf8, and as we know the amarok 1.4.0a deprecate the coding changing option , so this command is very useful to convert the gbk coding to utf8 and update the id3 version to 2.4.

enjoy the package!

:D

Tue, 15 Aug 2006 10:48:17 +0800
add
upstream updated
附件
python-mutagen_1.6-0ubuntu1_all.deb
(61.51 KiB) 已下载 229 次
mutagen_1.5.1-0ubuntu1.tar.gz
(293.29 KiB) 已下载 171 次
python-mutagen_1.5.1-0ubuntu1_all.deb
(53.82 KiB) 已下载 194 次
mutagen-1.5.1.tar.gz
(289.38 KiB) 已下载 199 次
上次由 xiechy 在 2006-08-15 10:48,总共编辑 1 次。
头像
jazzi
帖子: 532
注册时间: 2005-10-16 23:26
来自: 泉州
联系:

#2

帖子 jazzi » 2006-07-07 9:54

谢谢,能否说明一下怎么使用
You make it fun
It will make you fun
xiechy
帖子: 1074
注册时间: 2006-01-18 15:01

#3

帖子 xiechy » 2006-07-07 18:53

大多数的同学应该只是想用它来将id3信息升级成支持utf8的id3v2.4吧,这样只支持utf8的amarok的乱码问题才能解决。
我就说说这个怎么作好了

方法:

代码: 全选

find . -iname "*.mp3" -execdir mid3iconv -e GBK {} \;
命令意思是在当前目录及其子目录中,寻找以mp3为扩展名的文件,然后将所有这些文件的id3信息升级到v2.4,同时进行转码,转码是从GBK转为utf8。

其实man一下这个包里的几个命令就好了,
/usr/bin/mid3iconv
/usr/bin/mid3v2
/usr/bin/mutagen-pony
/usr/bin/moggsplit
/usr/bin/mutagen-inspect
要不直接看内容也行,都是python的脚本而已
xiechy
帖子: 1074
注册时间: 2006-01-18 15:01

#4

帖子 xiechy » 2006-07-07 18:57

顺便说一下,easytag是不支持id3v2.4的,只支持到id3v2.3,而id3v2.4才支持utf8,id3v2.3只支持UTF-16。所以不要用easytag去修改或着查看。
Vstar
帖子: 273
注册时间: 2005-10-03 14:13
来自: Tokushima, Japan
联系:

#5

帖子 Vstar » 2006-07-08 19:18

如何查看当前mp3文件的id3编码?这个软件可否实现
致虚极,守静笃
xiechy
帖子: 1074
注册时间: 2006-01-18 15:01

#6

帖子 xiechy » 2006-07-10 15:07

代码: 全选

mid3v2 -l file
回复