Java library for reading, editing and writing MP3 tag information (IDv1 & IDv2)
Questions tagged [mp3agic]
14 questions
3
votes
4 answers
Remove cover art with mp3agic
I'm using mp3agic to edit mp3 tags automatically, so that my radio displays everything the way I like it. However, my radio seems to hate big album art images, resulting in not parsing the rest of the mp3 tag. Hence, I want to use mp3agic to remove…

Franz Kafka
- 10,623
- 20
- 93
- 149
2
votes
2 answers
How do you install MP3agic?
MP3agic: https://github.com/mpatric/mp3agic
Example.java: https://github.com/mpatric/mp3agic-examples/blob/master/src/main/java/com/mpatric/mp3agic/example/Example.java
I have been programming in java for a few years but have never installed…

Schemza
- 21
- 4
1
vote
1 answer
mp3agic library java.io.IOException: Cannot delete temporary mp3 file from \Tomcat\localhost\ROOT\file.tmp
The code works completly fine but I get this exception:
Caused by: java.io.IOException: Cannot delete…

noob234
- 199
- 2
- 12
1
vote
1 answer
How to use JaudioTagger to write data?
I am trying to use JaudioTagger 2.2.3 to edit tags of audio file but till now i have not achieved any success.
this is a test code to change the Artist tag of a mp3 file in Internal Storage
String path;
try
{
…

Dibyaranjan Mishra
- 55
- 9
1
vote
1 answer
Accessing lyrics through mp3agic
I'm not good at java. I'm doing a project that updates the metadata of music files using the library, mp3agic. I don't find the lyrics part in the library.
Can someone who is good with ID3 tags, help me access the lyrics?

Ravi Theja
- 11
- 1
0
votes
1 answer
How to get ID3 Lyrics tag from MP3 file using Mp3agic jar Android studio?
I need to get the lyrics from mp3 song
Mp3File mp3file = new Mp3File(file);
if (mp3file.hasId3v2Tag()) {
ID3v2 id3v2Tag = mp3file.getId3v2Tag();
Log.d("Lyrics",id3v2Tag.getLyrics());
}
The above code only I'm using. But its returning…
0
votes
1 answer
How to set and save metadata of mp3 file using mp3agic in Scala
I'm trying to write my own mp3 player. I am able to use mp3agic to read the metadata from an mp3 file, so now I'd like to modify it. Mp3agic shows (under heading Setting ID3v2 field values at mp3agic on GitHub) that you can do it by modifying the…

dwarfer88
- 115
- 1
- 6
0
votes
1 answer
Is there a way to get a generic mp3 tag using mp3agic?
I'm developing an MP3 player with java, using mp3agic to edit .mp3 files metadata. The problem is: I don't know the specific tags of the files to edit the desired data.
Here's my code to get the mp3 track for example:
public static int get_rep(Music…

sandmann
- 363
- 2
- 13
0
votes
1 answer
(Processing / Java) Converting a singular file function into a function that takes an array
I am trying to create a program that uploads multiple files and stores their name and BPM tag into an ArrayList ready for comparison between the files. I have found two functions to help me but I am unable to combine them to get the function that I…

Z Iqbal
- 59
- 7
0
votes
0 answers
Editing MP3 tags
Does anyone of you know a way to edit the tags of an mp3 file?
I tried Mp3agic but it crash when I try to declare an MP3File object and I also tried tha jaudiotagger library, but it also crashes.
I need help please.
UPDATE:
This is the code snippet…

Nicolò Rebaioli
- 53
- 2
- 9
0
votes
1 answer
Change album names using mp3agic
I wanted to loop through a folder containig .mp3 files and changing their album names (if they don't have one) to their title (e.g. Remix.mp3 with Title "Remix" gets the Album "Remix") using mp3agic.
This is my code so far:
if…

JetStream
- 809
- 1
- 8
- 28
0
votes
0 answers
How to embed images in IDv3 tags in mp3 files in android using any library or not
I am trying to embed images in mp3 files to make it the album art of the music file and replace the old one. I tried using mp3agic library but it is not working. Any other suggestions would be appreciated.

Akshay Kumar
- 25
- 6
0
votes
1 answer
How to add the album art to a .mp3 file using mp3agic?
I have been trying to set the album art of a mp3 file using the mp3agic library in java. The following code snippet is what i used to do so. Unfortunately this isnt working. The saved image file does not contain the album art nor the set title.…

Aakash Sasikumar
- 27
- 6
0
votes
1 answer
Perform slow task on lots of data in RecyclerView
I am building a music player that gets the BPM ID3v2 tag from all mp3 files on a device and allows sorting and filtering by BPM. To get the tag, I am using the mp3agic library. It turns out that this tag fetching takes some time for each song, and…

paulr
- 63
- 1
- 6