ID3TagEditor

A class to edit the ID3 tag of an mp3 file.

  • Init the ID3TagEditor.

  • Read the ID3 tag contained in the mp3 file.

    Throws

    Could throw InvalidFileFormat if an mp3 file doesn’t exists at the specified path. Could throw CorruptedFile if the file is corrupted.

  • Read the ID3 tag contained in the mp3 file passed as Data.

    Throws

    Could throw CorruptedFile if the file is corrupted.

  • Writes the mp3 to a new file or overwrite it with the new ID3 tag.

    Throws

    Could throw TagTooBig (tag size > 256 MB) or InvalidTagData (no data set to be written in the ID3 tag).

  • Write the ID3 tag passed as parameter to the mp3 file passed as Data.

    Throws

    Could throw TagTooBig (tag size > 256 MB) or InvalidTagData (no data set to be written in the ID3 tag).