Hello,
The bucket
parameter in our API is multivalued. Your code is clobbering the value of the bucket
parameter on your 6th line. The actual value of the bucket
parameter should be an NSArray
in cases like these. There are some examples how to do this in the library tests, but I think the right way (untested!) is:
[p setValue:[NSArray arrayWithObjects:@"tracks", @"id:deezer", nil] forKey:@"bucket"];