|
@@ -579,6 +579,12 @@ static inline void wd_playControl_queue(void (^block)(void)){
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+- (void)setLowPowerNoticeEnable:(BOOL)enable device:(id<MKRUPnPDevice>)device{
|
|
|
+ wd_playControl_queue(^{
|
|
|
+ libupnp_SetLowBatteryNotification(device.groupManagementUrl,enable);
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
- (id <MKRRadioResorce>)getPlayingStatusWithDevice:(id <MKRUPnPDevice>)device {
|
|
|
wd_playControl_queue(^{
|
|
|
NSDictionary *resultDic = [[ASControlTools sharedInstanceUPNP] libupnp_getPlayInfo:device.avTransportUrl];
|