ID3V1
Leave feedback
On this page
Gets or sets the ID3v1 metadata tag. Please find more information at http://id3.org/ID3v1.
public ID3V1Tag ID3V1 { get; set; }
The ID3v1 metadata tag attached to the audio file.
The ID3(v1) tag is a small chunk of extra data at the end of an MP3 file.
This code sample shows how to update the ID3v1 tag in an MP3 file.
using (Metadata metadata = new Metadata(Constants.MP3WithID3V1))
{
var root = metadata.GetRootPackage<MP3RootPackage>();
if (root.ID3V1 == null)
{
root.ID3V1 = new ID3V1Tag();
}
root.ID3V1.Album = "test album";
root.ID3V1.Artist = "test artist";
root.ID3V1.Title = "test title";
root.ID3V1.Comment = "test comment";
root.ID3V1.Year = "2019";
// ...
metadata.Save(Constants.OutputMp3);
}
- class ID3V1Tag
- class MP3RootPackage
- namespace GroupDocs.Metadata.Formats.Audio
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.