浏览代码

版本升级维护

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"];