I want to play a specific playlist (that was constructed as an iMix) from my program, as long as it exists. I am able to use [[MPMediaQuery albumsQuery] addFilterPredicate:[MPMediaPropertyPredicate predicateWithValue:@"MyAlbum" forProperty:MPMediaItemPropertyAlbumTitle]]; to get all songs in an album (as well as many other options for ar...
I need to get a small number of random MPMediaItems of the music type, but the songs have to have cover artworks attached. I figured might need to use an MPMediaQuery with a MPMediaPropertyPredicate.
I could of course just call [MPMediaQuery artistsQuery] and then iterate through the results until some items that matches the criteria ar...
Hi, I'm currently working on an app that accesses a user's iPod library to generate data. The order is something like this:
Do a generic MediaQuery that returns everything
Iterate through MediaItemCollection and save title/artist info into an array
Clear MediaItemCollection and retrieve required items later via title query
However, t...
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...