|
@@ -44,7 +44,9 @@ static inline void wd_playControl_queue(void (^block)(void)){
|
|
- (instancetype)init {
|
|
- (instancetype)init {
|
|
if (self = [super init]) {
|
|
if (self = [super init]) {
|
|
_upnpErrorCode = -1;
|
|
_upnpErrorCode = -1;
|
|
- [self startUpnp];
|
|
|
|
|
|
+ wd_playControl_queue(^{
|
|
|
|
+ [self startUpnp];
|
|
|
|
+ });
|
|
[ASControlTools sharedInstanceUPNP].delegate = self;
|
|
[ASControlTools sharedInstanceUPNP].delegate = self;
|
|
}
|
|
}
|
|
return self;
|
|
return self;
|