Mediaremoted gives property list error in iOS5

I have an application that I port to iOS5, when I start in the simulator, I see a lot of messages like this:

10/25/11 10:34:43.002 AM mediaremoted: Property list invalid for format: 200 (property lists cannot contain NULL) 10/25/11 10:34:43.003 AM mediaremoted: Property list invalid for format: 200 (property lists cannot contain NULL) 

issued immediately after loading the movie in MPMoviePlayerViewController with the following code:

 if (moviePath) { movieURL = [NSURL fileURLWithPath:moviePath]; // this next line will throw these messages MPMoviePlayerViewController *mpvc = [[MPMoviePlayerViewController alloc] initWithContentURL:movieURL]; [view presentMoviePlayerViewControllerAnimated:mpvc]; [(AppDelegate *)[[UIApplication sharedApplication] delegate] setMoviePlayerVC:mpvc]; } 

it’s not entirely clear to me that the “property list” is responsible for this error message, since no one is reading at the moment. I am inclined to believe that it could be a red herring. Any thoughts would be helpful.

+4
source share

All Articles