Browse Source

版本升级维护

yyqxiaoyin 5 years ago
parent
commit
28643b9677

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