How to get a MPMediaItem from MPMoviePlayerController?

Posted by raziiq on Stack Overflow See other posts from Stack Overflow or by raziiq
Published on 2009-11-03T10:41:31Z Indexed on 2011/03/15 16:10 UTC
Read the original article Hit count: 293

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, artist etc, is it possible to get the metadata for a video file?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch