views:

46

answers:

1

I've seen the TagLib Sharp example of how they read from a Gnome VFS, but does anyone know how or have sample code on how I can read an MP3 file from a website and get the ID3 info?

So say i have some MP3's and the link is like this: "http://myserver.com/indie/band1.mp3"

I'm trying to user TagLib Sharp to do this: http://developer.novell.com/wiki/index.php/TagLib_Sharp:_Examples

Thanks in advance!

A: 

You would have to download the file locally and then run taglib against the local version.

WebClient Client = new WebClient ();
Client.DownloadFile("http://myserver.com/indie/band1.mp3", "band1.mp3");

you could use the TagLib.File.IFileAbstraction, but I find downloading the file locally to be a lot simpler.

Keivan
Thanks Keivan, but I was hoping to just read it from the web. Do you have any suggestions?
Steve