Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加ID3解析 API #77

Open
janryWang opened this issue Jan 25, 2015 · 2 comments
Open

添加ID3解析 API #77

janryWang opened this issue Jan 25, 2015 · 2 comments

Comments

@janryWang
Copy link

想问问muplayer支持获取歌曲元数据的功能吗?因为我打算从歌曲的元数据中获取出歌曲名称和音乐家名称

@hustKiwi
Copy link
Member

不支持,因为针对每一种音频编码格式,元数据的解析也是不同的,甚至有些音频编码,没有特别规范标准的元信息读取方式。而 muplayer 主要定位于提供一个兼容主要浏览器的音频播放API,故没有支持。

针对 mp3,通过 flash 的sdk,确实可以取得 id3信息,高端浏览器也有类似的方法,例如:
http://stackoverflow.com/questions/6332384/read-id3-tags-from-mp3-using-javascript

暂时没有考虑作为 feature 实现,即便今后有考虑,也会以一种插件的形式吧。

@hustKiwi
Copy link
Member

hustKiwi commented Feb 2, 2015

添加ID3解析 API,相关讨论:#79

@hustKiwi hustKiwi changed the title 想问问muplayer支持获取歌曲元数据的功能吗? 添加ID3解析 API Feb 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants