|
@@ -547,10 +547,10 @@ static inline void wd_playControl_queue(void (^block)(void)){
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-- (void)setChannelUpdate:(NSString *)channelFlag device:(id<MKRUPnPDevice>)device timeStamp:(NSTimeInterval)timeStamp{
|
|
|
- NSString *timestamp = [NSString stringWithFormat:@"%.0f", [[NSDate date] timeIntervalSince1970]];
|
|
|
+- (void)updateChannel:(NSString *)channelFlag device:(id<MKRUPnPDevice>)device{
|
|
|
wd_playControl_queue(^{
|
|
|
- libupnp_SetChannelUpdateV2(device.groupManagementUrl, self.userID, timestamp, channelFlag, @"null");
|
|
|
+ NSString *timestamp = [NSString stringWithFormat:@"%.0f", [[NSDate date] timeIntervalSince1970]];
|
|
|
+ int result = libupnp_SetChannelUpdateV2(device.groupManagementUrl, self.userID, timestamp, channelFlag, @"null");
|
|
|
});
|
|
|
}
|
|
|
|