|
@@ -598,6 +598,17 @@ static inline void wd_playControl_queue(void (^block)(void)){
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+- (void)updateTempChannelPlayMode:(MKRRadioPlayMode)playMode device:(id<MKRUPnPDevice>)device{
|
|
|
|
+ if (!self.currentTempM3UListModel) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ self.currentTempM3UListModel.playModeString = [self playModeStringWithPlayMode:playMode];
|
|
|
|
+ wd_playControl_queue(^{
|
|
|
|
+ [self setM3UList:self.currentTempM3UListModel];
|
|
|
|
+ [self updateChannel:@(13).stringValue device:device];
|
|
|
|
+ });
|
|
|
|
+}
|
|
|
|
+
|
|
- (void)setLowPowerNoticeEnable:(BOOL)enable device:(id<MKRUPnPDevice>)device{
|
|
- (void)setLowPowerNoticeEnable:(BOOL)enable device:(id<MKRUPnPDevice>)device{
|
|
wd_playControl_queue(^{
|
|
wd_playControl_queue(^{
|
|
libupnp_SetLowBatteryNotification(device.groupManagementUrl,enable);
|
|
libupnp_SetLowBatteryNotification(device.groupManagementUrl,enable);
|