|Sep 23, 2012, 05:48 PM||#1|
Pause iPod when the current song ends?
Hi, I'm looking through Apple's docs on Audio sessions (such as this one: http://developer.apple.com/library/i...iguration.html ) and I can't tell whether it's possible to achieve what I want or not:
1 - Get the metadata of the iPod song playing when my app launches.
2 - Pause the iPod when it reaches the end of the current song.
3 - Play the audio for my own app (as AVAudioSessionCategoryPlayback - it should play even if the screen is locked.)
4 - Get the metadata of the iPod song that will play next.
5 - Resume the iPod when my app reaches the end of its own audio.
Ultimately, I want my app to coexist with the iPod. It should respect other audio applications that might be running by not abruptly stopping them when my app is launched (my app will have a button for the user to abruptly stop the iPod and start my app's audio if they want,) but it should stop them as they reach the end of their own audio. When my app reaches the end of its audio, it should resume whatever audio was previously playing.
Don't tell me Macs don't last: 2007 iMac, 2007 Mac Mini, 2008 MacBook Air, all Vintage.
(iMac obsoletion: April 28, 2015, MBA: October 14, 2015, Mac Mini: March 9, 2016)
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|iTunes Menubar current song?||TheBacklash||Mac Applications and Mac App Store||1||Nov 24, 2013 12:57 PM|
|How to go to current song in iTunes 11||KRB24||Mac Applications and Mac App Store||7||Dec 12, 2012 11:41 PM|
|Random pause in iPod Classic||arcureo||iPod||6||Dec 7, 2012 07:30 AM|
|Apple Splitting iPod Touch Lineup Between Current and New Designs, Increasing Color Options for iPod Shuffle and New Nano?||MacRumors||MacRumors.com News Discussion||181||Sep 11, 2012 09:07 AM|
|Transfer Current iTunes Song to iPhone/iPad, etc.||rick3000||iPhone Tips, Help and Troubleshooting||0||Jun 11, 2012 11:33 PM|
All times are GMT -5. The time now is 09:34 AM.