Load resources by url from ipod library

Hi,
I have a plugin that gives me urls to audio files from ipod library. The url looks like ipod-library://item/item.mp3?id=12345. Is there any way to load that file to Unity using that link?
I thought about this: Unity - Scripting API: WWW
but it doesn’t support ipod-library:// protocol. Is there any way to convert ipod-library:// url to file:// url?

copy it out through native code into the documents folder of your app and load it from there.

Why would you want to load it though?
sounds more like you want to support ipod library playback in hwich case you better hook in the native audio player and playlist support.

I want to give users the possibility to play their music in game, but I need data from audio files, I use GetSpectrumData from Unity’s AudioSource.
For now, I created a small plugin that lists urls of all tracks from a paylist and I intended to load selected audio file. Still, I have some music files in project, that can also be selected. I am not familiar with iOS SDK, so any help is appreciated. Maybe there is already a plugin that gives me a chance to select track from ipod lib and gives the access to data?

This can be done, I just spent 3 days researching the different options and getting something to work.

I use the prime31 MediaPlayer plugin. prime31 - Mobile game and app experts specializing in Unity games and plugins

It has an option to copy a track to your Unity apps documents folder so that you can load it into Unity like any other clip. However I am thinking that prime31’s plugin currently assumes that the music is already in .mp3 format, which is often not the case, and so it doesn’t work with those tracks. So I had to make quite large changes to the plugin to get a result. One problem is that iOS doesn’t have a build-in method for encoding to mp3, so instead I am having to ave the music as a .wav which Unity can then load at runtime ok. There are probably some drawbacks to this approach but it does seem to work, just so long as the music in question has no DRM protection.

I published an iOS plugin for Unity that will enable your users to pick and play music from their device’s music library, supports playlists and M4As, but not Android. If you also want the audio data I could rework it so that it provides additionally data usability and draws a waveform like in my simple little music visualizer — vid for example
https://www.youtube.com/watch?v=9HIh6uQ2B98