It is not possible to add files to the iPod library.

I could be wrong, but I think registering for remote control events will solve 
your problem with the car defaulting to the music app.





> On 19 Nov 2014, at 4:49 pm, Rick Mann <[email protected]> wrote:
> 
> Thank you!
> 
> Is it better for me to use the media library APIs, and the iPod player? Can 
> my app download the tracks and add them to the library?
> 
> I ask because I don't know if the APIs you suggested will keep the music app 
> from restarting playback on reconnect.
> 
> Thanks. 
> 
> Sent from my iPhone
> 
> On Nov 18, 2014, at 21:30, Anthony Myatt <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Hi Rick,
>> 
>> MPNowPlayingInfoCenter 
>> (https://developer.apple.com/Library/ios/documentation/MediaPlayer/Reference/MPNowPlayingInfoCenter_Class/index.html
>>  
>> <https://developer.apple.com/Library/ios/documentation/MediaPlayer/Reference/MPNowPlayingInfoCenter_Class/index.html>)
>>  allows you to set the title, artist, album, etc on the lock screen and 
>> connected devices.
>> 
>> UIApplication handles the remote control events, see 
>> https://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/Remote-ControlEvents/Remote-ControlEvents.html
>>  
>> <https://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/Remote-ControlEvents/Remote-ControlEvents.html>.
>> 
>> 
>> 
>> 
>> Kind regards,
>> 
>> 
>> Anthony Myatt
>> 
>> 
>>> On 19 Nov 2014, at 4:15 pm, Rick Mann <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> I've written a specialized podcast app using AVAudioPlayer, and it works 
>>> well enough. I can play it through my Bluetooth-connected car audio system, 
>>> and that's great.
>>> 
>>> But it doesn't show the track title information on the car's display like 
>>> the Music app does. I also can't use the next/previous controls on my 
>>> steering wheel to change tracks in my app. Moreover, when I first 
>>> re-connect to the car, it always reverts to playing the Music app, not my 
>>> podcast.
>>> 
>>> What's the API that allows me to be better integrated?
>>> 
>>> TIA,
>>> 
>>> -- 
>>> Rick Mann
>>> [email protected] <mailto:[email protected]>
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Coreaudio-api mailing list      ([email protected] 
>>> <mailto:[email protected]>)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/coreaudio-api/me%40anthonymyatt.net 
>>> <https://lists.apple.com/mailman/options/coreaudio-api/me%40anthonymyatt.net>
>>> 
>>> This email sent to [email protected] <mailto:[email protected]>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to