Browse Source

版本升级维护

yyqxiaoyin 5 years ago
parent
commit
1f4cc278ed
1 changed files with 1 additions and 2 deletions
  1. 1 2
      MKRRadioManager/Classes/MKRRadioManager/MKRAVPlayer/MKRAVPlayer.m

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

@@ -392,12 +392,11 @@ NSURL * MKRUrlWithString(NSString *string){
             return;
         }
         [self resetPlayer];
-        self.currentTime = 0;
-        self.totalTime = 0;
         self.currentIndex = nextIndex;
         self.currentStatus = nil;
         NSString *url = [self.playList objectAtIndex:self.currentIndex];
         self.playUrl = MKRUrlWithString(url);
+        self.state = MKRAVPlayerStateStopped;
     }
 }