浏览代码

版本升级维护

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);