mpmediaitem

MPMediaPickerController - deselecting after selecting in error

Problem is evident in both the code I've written and Apple's sample AddMusic code (http://developer.apple.com/iphone/library/samplecode/AddMusic/index.html runs on Device Only). Once you open MPMediaPickerController when you click on an item it appears to be impossible to subsequently unselect it. It actually just gets added to the MP...

MPMediaPickerController, MPMediaItems, and NSData

I was wondering if Apple allowed you to access the MPMediaItem's raw data as an NSData object. If you can, thats great and I would like to know how. If you cannot, then Apple is way too over-protective, and my app that i started is utterly useless. Also if you cannot, Is there any hacky workarounds? I don't care if Apple doesn't accept m...

How to get a MPMediaItem from MPMoviePlayerController?

How can i get MPMediaItem from MPMoviePlayerController as i can get it in case of MusicPlayer as follows MPMediaItem *currentItem = self.musicPlayer.nowPlayingItem; But how to get it from MPMoviePlayerController? Is it even possible? Infact i want to get the information about the current movie item playing, for example its title, ar...

Smooth table view like on iPod.app

Hey folks ;), Im trying to redo the table view in the ipod.app. The one with 2 labels and the cover on the left. I want the same information there. I mean the cover plus all the other MPMediaItem stuff. Everything works fine. I can build the table and get all the information from the music library I need. My only problem is that my tabl...

Using iPhone audio files in own app - copy the audio file - is that possible?

I like the user to pick an audio file from the available list of audio and copy it into my own app. In the retrieved items of userMediaItemCollection in the Apple sample code "AddMusic" there is the property: MPMediaItemPropertyAssetURL. But I cant get to it, since I get the error "MPMediaItemPropertyAssetURL undeclared" - although I imp...

Load songs from iPod Library right after sync

Hi. I'm developing an iPhone application that uses the iPod library to play some songs. I load the songs with the code below. The problem is, when running this code right after the device has been synced with iTunes, there is a problem. Apparently the iPod Library needs to be updated, and it takes some time. If I go to the iPod Applicat...

getting the next and previous track if using iPodMusicPlayer

Hi, Im using an iPodMusicPlayer for my MPMusicController. My question is once my appplication is launched and will continue what the iPod app is playing, can i retrieve the MPMediaItem of the next and previous track of the iPod music app? I cant seem to find a way to know if user chose albums, artists or songs as his/her choice on th...

Position of nowPlayingItem in a playlist/Adding categories to MPMediaItem

I'm trying to figure out the track number of the MPMusicPlayerController's nowPlayingItem in its playlist. This would be super simple, except for the fact that the same song can appear multiple times in the same playlist (as in they both point to the same file). For example, if a playlist consisted of Song 1, Song 2, Song 1, Song 3, Song...