Commit a1d33d85 authored by Soomin Lee's avatar Soomin Lee

VLCPlaybackService: Fix loop regression

(regression from 72815897)
parent 7d4459b5
......@@ -778,6 +778,11 @@ NSString *const VLCPlaybackServicePlaybackPositionUpdated = @"VLCPlaybackService
NSInteger nextIndex = [self nextMediaIndex];
if (nextIndex < 0) {
if (self.repeatMode == VLCRepeatAllItems) {
[_listPlayer next];
[[NSNotificationCenter defaultCenter]
postNotificationName:VLCPlaybackServicePlaybackMetadataDidChange object:self];
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment