joshbetz / Hypersonic

An iOS app for streaming music from a Subsonic server and other cloud services
http://joshbetz.github.com/Hypersonic
15 stars 3 forks source link

Integrate with Music Player #9

Closed joshbetz closed 12 years ago

joshbetz commented 12 years ago

This is a whole, huge thing, but I'm just going to list some ideas here:

joshbetz commented 12 years ago

I don't think the "built in" controls are what we want. I thought we would be able to use the iPod UI, but it seems like that's not the case. The two choices seem to be AV Foundation, which is what we're using now, and Media Player Framework. As you can see in the AV Foundation document, it says to use the highest level of abstraction possible, but the interface it gives you is the video interface, not the music interface. The video UI disappears after a few seconds and I'm not sure if you can queue up multiple songs.

joshbetz commented 12 years ago

It looks like we can queue multiple songs with the AV Foundation Framework.

joshbetz commented 12 years ago

@erasmuss22 I'm thinking the reason it stops playing when you press the "back" button is because we're leaving the modal view and therefore removing it from memory. I'm guessing we're going to have to do something that involves playing the music in something more permanent. Possibly the AppDelegate?

joshbetz commented 12 years ago

@erasmuss22 The back seems to work for me, or did I misunderstand?

joshbetz commented 12 years ago

@erasmuss22 I'm going to say that we should go with AV Foundations for the music player. I found some stuff that says that's how you do HTTP Live Streaming aka AirPlay.

joshbetz commented 12 years ago

@erasmuss22 You're going to want to see this http://mobile.tutsplus.com/tutorials/iphone/ios-sdk_background-audio/