Is there a way to get the time length of an mp3 in VB.net? I have TagLib, but it doesn't seem to have any functionality for it.
Determine the length (in milliseconds) of an mp3 file in VB.net
3.1k views Asked by ptigers9 At
2
Is there a way to get the time length of an mp3 in VB.net? I have TagLib, but it doesn't seem to have any functionality for it.
I think you are looking for the TagLib.File.Properties.Duration, which returns a TimeSpan object. From there you can use TotalSeconds to get the length of the mp3 in seconds.