소스 검색

版本升级维护

yyqxiaoyin 5 년 전
부모
커밋
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);