
For my radio show iPhone application project, I wanted to use the metadata contained in my enhanced podcast files. Including:
- chapter information (artist/song)
- chapter start time
- chapter image
Once I had this information I wanted to store it in XML on my server so I could access it whenever I wanted (from the iPhone application).
Read more…

I have been working on a project that requires me to stream audio from a webserver to the iPhone, starting at an offset in an mp3 file. I showed how to modify Matt Gallagers awesome AudioStreamer code in a previous post. What I find myself doing quite a bit is stopping play on one file and starting play on another. Obviously you want the gap between tracks to be as minimal as possible.
The easy way to do this would be just to keep track of duration in a ’switcher’ object, Read more…

Starting with Matt Gallagher’s awesome AudioStreamer class, I wanted to extend it in a couple ways:
- Be able to play my radio show .mp3s hosted on my website (static files, not streams)
- Be able to start playback at any point in the file (startWithOffsetInSecs)
- Obviously, have it work on the iPhone
- Be able to have full control of audio & drawing while audio is playing
Actually, #3 & #4 are really what pushed me to find Matt’s class in the first place…so they aren’t really extensions of AudioStreamer, but rather why I chose to use AudioStreamer in the first place. The other major option was using something like MPMoviePlayerController. But that had several limitations which I won’t get into here.
Read more…