소스 검색

版本升级维护

yyqxiaoyin 5 년 전
부모
커밋
c9458c947c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MKRRadioManager/Classes/MKRRadioManager/MKRWIFIDeviceManager/MKRWIFIDeviceManager.m

+ 1 - 1
MKRRadioManager/Classes/MKRRadioManager/MKRWIFIDeviceManager/MKRWIFIDeviceManager.m

@@ -506,7 +506,7 @@ static inline void wd_playControl_queue(void (^block)(void)){
             self.currentResource.songFrom = [dic[@"TrackMetaData"][@"upnp:songPlatform"] integerValue];
             self.currentResource.resourceStatus.totalTime = [NSString secondsFromHHmmssFormatStrig:dic[@"TrackDuration"]];
             self.currentResource.resourceStatus.currentTime = [NSString secondsFromHHmmssFormatStrig:dic[@"RelTime"]];
-            [self.currentResource.resourceStatus updatePlayState:dic[@"CurrentTransportState"]];
+            self.currentResource.resourceStatus.playState = [self.currentResource.resourceStatus updatePlayState:dic[@"CurrentTransportState"]];
             NSInteger sourceType = [self convertSorceTypeWithAudioType:[dic[@"TrackMetaData"][@"upnp:songType"] integerValue]];
             self.currentResource.sourceType = sourceType;
             self.currentResource.songAlbumID = dic[@"TrackMetaData"][@"upnp:songAlbumID"];