소스 검색

版本升级维护

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

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

@@ -477,6 +477,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"]];
             NSInteger sourceType = [self convertSorceTypeWithAudioType:[dic[@"TrackMetaData"][@"upnp:songType"] integerValue]];
             self.currentResource.sourceType = sourceType;
             self.currentResource.songAlbumID = dic[@"TrackMetaData"][@"upnp:songAlbumID"];