在Android(ID3)中设置音频文件媒体元数据 [英] Setting audio file media metadata in Android (ID3)

查看:166
本文介绍了在Android(ID3)中设置音频文件媒体元数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找出是否可以在Android的anudio文件中设置媒体元数据(主要是ID3,例如艺术家,专辑,歌曲等).

我已经注意到,可以使用 MediaMetadataRetriever ,但是找不到设置它的方法.

可以帮忙吗?有可能吗?

解决方案

您可以使用数据存储从要编辑的MP3-File中获取文件对象,然后使用 Jaudiotagger 来编辑ID3-Tag. /p>

I am trying to find out if there is a way to set media metadata (mainly ID3 such as artist, album, song, ...) on an anudio file in Android.

I have noticed that it is possible to retrieve such information using MediaMetadataRetriever but cannot find out a way to set it.

Can you please help? Is it possible?

解决方案

You could use the DataStorage to get a File-Object from the MP3-File you want to edit and then use a ID3-Tag Library like Jaudiotagger to edit the ID3-Tags.

这篇关于在Android(ID3)中设置音频文件媒体元数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆