To edit mp3 files tags we need UltraID3Lib.dll.
So first download it from here
UltraID3Lib.DLL
Now we have to do this following steps.
Now the coding part…
First we need to import it.
Create a new UltraID3 object.
Now we need a mp3 file for reading. The reading function tag1.Read() will does this work.
And then we can display the basic tags of that mp3 file using
Now if we want to update any tag information, we just need to set the property value and use the .write() method.
After that these informations will saved into your mp3 file.
So first download it from here
UltraID3Lib.DLL
Now we have to do this following steps.
- Open Visual Studio IDE
- Create a new windows application
- From Project —> Add Reference –> Browse –> Select the UltraID3Lib.DLL
Now the coding part…
First we need to import it.
Imports HundredMilesSoftware.UltraID3Lib
Create a new UltraID3 object.
Dim tg1 As New UltraID3
Now we need a mp3 file for reading. The reading function tag1.Read() will does this work.
tg1.Read("c:\mp3\sample.mp3")
And then we can display the basic tags of that mp3 file using
tg1.Album tg1.Title tg1.Artist tg1.Year.ToString tg1.Comments
Now if we want to update any tag information, we just need to set the property value and use the .write() method.
tg1.Album="Demo album" tg1.Title="Demo Title" tg1.Artist="Demo Artist" tg1.Year=2012 tg1.Comments="Sample Comment" tg1.Write()
After that these informations will saved into your mp3 file.
No comments:
Post a Comment