david-l
david-l

Reputation: 623

Detecting music video from iPhone/Pad music library

Im using MPMediaQuery to search the library on a user's iPhone/Pad. Im able to return audio tracks but im unable to return any of the videos which are on the device. Apparently its not possible according to this article but i fail to understand why this would be. If that is true, is there another way to retrive this information?

This is how im retrieving tracks

MPMediaQuery *queryTracksByArtist = [MPMediaQuery artistsQuery];
MPMediaPropertyPredicate *pred = [MPMediaPropertyPredicate predicateWithValue:@"The Album Title" forProperty:MPMediaItemPropertyAlbumArtist comparisonType:MPMediaPredicateComparisonContains];
[queryTracksByArtist addFilterPredicate:pred];
NSArray *itemsFromGenericQuery = [queryTracksByArtist items];   

Upvotes: 0

Views: 525

Answers (1)

Ilanchezhian
Ilanchezhian

Reputation: 17478

No, As of now, you cannot access video with ipod library access. check this link.

Upvotes: 1

Related Questions