0

how can i read from a file like music file (mp3, wav, or something else) it's properties,
like Album title, song's time, song's name and more, like ITunes read it or any music program.

3
Contributors
15
Replies
18
Views
6 Years
Discussion Span
Last Post by abelLazm
0

According to the tutorial i posted..
u can find the length by following below:

string strlength = mp3.Properties.Duration.ToString();
0

how can i write only the minutes and the seconds? without this 00:03:25.56456
should i use split string?

Edited by IDC_Sharp: n/a

0

never mind i got it :) if you want to know

mp3.Properties.Duration.Minutes.ToString() + ":" + mp3.Properties.Duration.Seconds.ToString();

Edited by IDC_Sharp: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.