File Location

Sep 25, 2011 at 6:04 AM

Is there any way to get the location of the current track on the hard drive?

I tried getting it off the CurrentTrack.Uri but it always comes back blank

Thanks

Coordinator
Sep 25, 2011 at 8:03 AM

Track.Uri should work, yes.

You can check out my debug App (ZuneLcdApiDebug.exe) down below the second last textbox shows the URI. The corresponding source code can be found at MainWindow.xaml.cs, line 262. But essentially the CurrentTrack.Uri ist always valid after the TrackChanged-Event until the Track changes again.

Sep 25, 2011 at 4:18 PM

Yes i had it located in the wrong area it works just great thanks