yyqxiaoyin 5 лет назад
Родитель
Сommit
4443f4c4ae
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

+ 1 - 0
MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

@@ -421,6 +421,7 @@ NSURL * MKRUrlWithString(NSString *string){
         }
         [self resetPlayer];
         self.currentIndex = nextIndex;
+        self.currentResource = self.resourcePlayList[nextIndex];
         self.currentStatus = nil;
         NSString *url = [self.playList objectAtIndex:self.currentIndex];
         self.playUrl = MKRUrlWithString(url);