dsgracenote / GN_Entourage_Demo

Gracenote Entourage Demo for iOS
3 stars 1 forks source link

Error Domain=UNKNOWN DOMAIN following error show #1

Open jatiender opened 10 years ago

jatiender commented 10 years ago

GN_Entourage_Demo[5573:1803] audioBytesReady error: Error Domain=UNKNOWN DOMAIN Code=-1868300287 "No Error" UserInfo=0x15564bc0 {NSLocalizedDescription=No Error}

following error will show when running the demo pls help me solve this error

dsgracenote commented 10 years ago

Is this reproducible in the simulator and on a device? What version of iOS are you running? Can you provide the complete code for your audioBytesReady method?

jatiender commented 10 years ago

thanx to reply

i am using IOS 7 and Xcode 5.1 version and my need is song recognition and provide me response like Song name, Artist name, Album or movie name and image of song pls provide me a running code that is helpful for me. i am using this code. i have attached code file. pls give me proper code for that is helpful for me.

GN_Entourage_Demo-master . i am using this code for using.

Regards jatiender Kumar

On Thu, Apr 24, 2014 at 7:54 PM, dsgracenote notifications@github.comwrote:

Is this reproducible in the simulator and on a device? What version of iOS are you running? Can you provide the complete code for your audioBytesReady method?

— Reply to this email directly or view it on GitHubhttps://github.com/dsgracenote/GN_Entourage_Demo/issues/1#issuecomment-41285996 .

dsgracenote commented 10 years ago

Hi,

If you are looking for music recognition you should be using a different SDK. The Entourage SDK that this demo is based on is designed for recognizing live TV programs. While it does have some music recognition capability this feature is limited.

Our Mobile Client SDK is what you should use for music recognition. It's a full featured music recognition SDK. You can access it on our developer site here:

https://developer.gracenote.com/mobile-client

Hope this helps.

jatiender commented 10 years ago

Respected sir,

i have used this code but provide this error how to solve it

NSURLConnection Error - "A server with the specified hostname could not be found." -1003 https://c11645184.web.cddbp.net/webapi/xml/1.0/ https://c11645184.web.cddbp.net/webapi/xml/1.0/

thanx sir

On Fri, Apr 25, 2014 at 8:58 PM, dsgracenote notifications@github.comwrote:

Hi,

If you are looking for music recognition you should be using a different SDK. The Entourage SDK that this demo is based on is designed for recognizing live TV programs. While it does have some music recognition capability this feature is limited.

Our Mobile Client SDK is what you should use for music recognition. It's a full featured music recognition SDK. You can access it on our developer site here:

https://developer.gracenote.com/mobile-client

Hope this helps.

— Reply to this email directly or view it on GitHubhttps://github.com/dsgracenote/GN_Entourage_Demo/issues/1#issuecomment-41405467 .

dsgracenote commented 10 years ago

Hi,

I am able to reach that URL successfully. Perhaps there is something about your network configuration or firewall settings on the device that is preventing it from sending outbound requests to that hostname? Do you get a response if you enter that URL into your browser on your iOS device, for example?

jatiender commented 10 years ago

thanx now working for me. & how to fetch song cover image in this sdk

On 4/28/14, dsgracenote notifications@github.com wrote:

Hi,

I am able to reach that URL successfully. Perhaps there is something about your network configuration or firewall settings on the device that is preventing it from sending outbound requests to that hostname? Do you get a response if you enter that URL into your browser on your iOS device, for example?


Reply to this email directly or view it on GitHub: https://github.com/dsgracenote/GN_Entourage_Demo/issues/1#issuecomment-41579667

dsgracenote commented 10 years ago

To have cover art come back in a response you must enable the cover art property on your GNConfig object instance:

[gnConfig setProperty:@"content.coverArt" value:@"1"];

Then, in the response object you can access the GNCoverArt object:

gnSearchResponse.coverArt;

GNCoverArt has two properties "data", which gives you the raw binary image data, or "url", which gives you a temporary URL to the cover art image.