id3v2

Set Lyrics in MP3 ID3v2 Tag

北城余情 提交于 2019-12-04 09:56:06
I want to write lyrics to an mp3 in an Android application.I have found a java library for reading mp3 files and reading/manipulating the ID3 tags (ID3v1 and ID3v2.2 through ID3v2.4), named mp3agic . I modified mp3agic to write the lyric tag of the ID3v2 tag, writing the tag: USLT . Found in Wikipedia In a sample Android app I modify the artist, album, title, genre, lyrics, and comment of an MP3. All tags are modified correct except for the lyrics. PowerAMP is used to verify the modified MP3 file and PowerAMP cannot find the lyrics in the MP3. If anyone is familiar with this library here is my

How to use the Java MP3 ID3 Tag Library to retrieve album artwork

此生再无相见时 提交于 2019-12-03 07:58:34
问题 I'm making an mp3 player. I'm using the Java mp3 id3 tag library. I understand that album artwork is encoded as a ID3v2 tag. I can access the ID3v2 tag of a mp3 file however I cannot get the artwork! None of the methods in the AbstractID3v2 class, in the API seem to retrieve a picture. How does one use this library? 回答1: I ended up using another library, I used mp3agic It's a great library which is easy to use. Here's sample code I used to get the album artwork Mp3File song = new Mp3File

How to use the Java MP3 ID3 Tag Library to retrieve album artwork

别来无恙 提交于 2019-12-02 21:50:14
I'm making an mp3 player. I'm using the Java mp3 id3 tag library . I understand that album artwork is encoded as a ID3v2 tag. I can access the ID3v2 tag of a mp3 file however I cannot get the artwork! None of the methods in the AbstractID3v2 class, in the API seem to retrieve a picture. How does one use this library? I ended up using another library, I used mp3agic It's a great library which is easy to use. Here's sample code I used to get the album artwork Mp3File song = new Mp3File(filename); if (song.hasId3v2Tag()){ ID3v2 id3v2tag = song.getId3v2Tag(); byte[] imageData = id3v2tag