create a BOOL in your class and initialize it to NO,
@property (nonatomic, assign) BOOL isTriggeredByPause;
before calling
[self.moviePlayer pause];
set its value,
self.isTriggeredByPause = YES;
in your method check for it,
(void)moviePlayBackDidFinish:(NSNotification *)note {
if (note.object == self.moviePlayer) {
NSInteger reason = [[note.userInfo objectForKey:MPMoviePlayerPlaybackDidFinishReasonUserInfoKey] integerValue];
if (reason == MPMovieFinishReasonPlaybackEnded) {
if(!self.isTriggeredByPause)
{
[self.moviePlayer play];
}
}
}
}
Modify value of self.isTriggeredByPause on manual play too, or loop won't work.