Deezer iOS sdk中的无线电/流派错误调用

时间:2014-11-14 16:04:54

标签: deezer

在iOS SDK v0.9.0-beta6中,调用:

[DZRRadio radiosByGenreWithRequestManager:self.requestManager callback:^(DZRObjectList *deezerList, NSError *error) { 
    if (error) {
        BTBLog_Error(@"Request did fail with error : %@", [error description]);
        return;
    }}];

导致错误:

Error Domain=DZRModelErrorDomain Code=3 "Some object could not be parsed" UserInfo=0x7c11f070 {DZROriginalErrorsKey=(
"Error Domain=DZRModelErrorDomain Code=2 \"The API returned a malformated object (either id or type missing)\" UserInfo=0x7ae55e80 {DZROriginalJSONKey=<CFBasicHash 0x7c1c47d0 [0x4e99528]>{type = immutable dict, count = 3,\nentries =>\n\t0 ...

并记录了很多警告,如:

[DZRWarning]: No "type" in the JSON object cannot parse. The object was:
{
id = 153;
radios =     (
            {
        id = 30921;
        picture = "http://api.deezer.com/radio/30921/image";
        title = Blues;
        tracklist = "http://api.deezer.com/radio/30921/tracks";
        type = radio;
    }
);
title = Blues;
} 

你能告诉我如何解决它吗?或者可能是此SDK版本中的错误?

0 个答案:

没有答案