Open Gh0s7 opened 11 years ago
Gh0s7 - you are attempting to create a Song using a track ID. You need to create a Song with a Song ID. If we were successfully able to resolve your track to a song, then you should be able to call track.getSongID to get the song ID associated with the track.
Paul
Is the generation of track fingerprints outside of the scope of this library?
I'm sorry for opening this issue but I can't find the solution to my problem.
I'd like to use jEN to identify and tag a mp3 file which has incorrect informations.
I'm trying something like this:
Track track = en.uploadTrack(file); track.waitForAnalysis(30000); if (track.getStatus() == Track.AnalysisStatus.COMPLETE) { Song s = new Song(en, track.getID()); System.out.println(s.getArtistName());
but it throws an exception