views:

6

answers:

0

Is there a way to get the URL of a podcast or iTunes U stream that's playing straight from the iTunes Store? I try CurrentTrack.URL and it gives me a blank for Store streams, whereas it gives a working URL for "Radio" streams from the left sidebar:

IITTrack currTrack = m_iTunes.CurrentTrack;
string path = "";

if (currTrack.Kind == ITTrackKind.ITTrackKindURL)
{
    IITURLTrack file = (IITURLTrack)currTrack;
    path = file.URL;
}

Any ideas? I have a feeling that the Store streams lock the URL, but I'm hoping that's not true...