I need to get the length information of MP3s that are on an HTTP server using the C # language.
I've tried TagLib # and NAudio, without success.
I need to get the length information of MP3s that are on an HTTP server using the C # language.
I've tried TagLib # and NAudio, without success.
I suggest you take a look at this link page that deals with the MP3 header.
Basically, what you can do is: Connect to the server and download the "piece" of the file that contains the header, make an analysis of the header, if the bitrate of the non file is variable , you will know the exact duration , if not, you can estimate , however to be sure, just downloading the complete file and analyzing frame by frame the same file. p>