API returning no results

Post here any issues with the API or feature requests
fatal
Posts: 2
Joined: Fri Jan 03, 2014 2:38 am
Contact:

API returning no results

Post by fatal »

Hey,

Looks like it just started happening and don't know if you are aware or not, but the API is not returning results for any item.

Code: Select all

<?xml version="1.0"?>
<fanart/>
Take Care
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: API returning no results

Post by Kode »

What URL are you using? seems to be working fine for the ones I'm trying
frofpa
Posts: 2
Joined: Fri Jan 03, 2014 1:12 pm

Re: API returning no results

Post by frofpa »

Hi,

observed same problem with XMBC artwork downloader
Calling api with tmdb ids works. Calling api with imdb ids returns nothing.

also happens when sending requests manually. Example for the same movie

Code: Select all

http://api.fanart.tv/webservice/movie/<apikey>/83542/json/all/1/2/
works, but

Code: Select all

http://api.fanart.tv/webservice/movie/<apikey>/tt1371111/json/all/1/2/
returns null
ajs
Posts: 6
Joined: Fri Jan 03, 2014 2:53 pm

Re: API returning no results

Post by ajs »

User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: API returning no results

Post by Kode »

fixed now, issue was with imdb id's rather than tmdb ids
frofpa
Posts: 2
Joined: Fri Jan 03, 2014 1:12 pm

Re: API returning no results

Post by frofpa »

Thanks Kode for this quick fix and also for the post in the artwork downloader forum about the commoncache.db. You helped a lot ;-)
Lunatixz
Posts: 2
Joined: Wed Jan 22, 2014 1:16 am

Re: API returning no results

Post by Lunatixz »

I'm having this issue with series json request, all receive null repsonce

Code: Select all

http://api.fanart.tv/webservice/series/api/81487/json/
what's changed?
User avatar
Kode
Site Admin
Site Admin
Posts: 353
Joined: Wed Dec 18, 2013 11:34 am

Re: API returning no results

Post by Kode »

works fine as far as I can see, that id has no images, if you try with 75682 you will see
Lunatixz
Posts: 2
Joined: Wed Jan 22, 2014 1:16 am

Re: API returning no results

Post by Lunatixz »

What are the odds, that the few show id's I tried all didn't exist... Thanks for the tip.
arjepsen
Posts: 6
Joined: Sun Jul 20, 2014 8:50 pm

Re: API returning no results

Post by arjepsen »

I think I may have a similar experience with several albums I uploaded covers and backgrounds for.
An example is the CD Solas, by the group with the same name.
The musicbrainz release group id is:
079c24f6-b312-33a9-856d-d6023008bda0
(https://musicbrainz.org/release-group/0 ... 023008bda0)

and it seems to be the same mbid here.

I try to get xbmc to download the thumbs and background, but the log shows:
...
13:45:24 T:2108 DEBUG: scraper: GetFanartTvAlbumThumbsByMBID returned <details><url function="ParseFanartTvAlbumThumbs" cache="fanarttv-albumimages-079c24f6-b312-33a9-856d-d6023008bda0.json">http://webservice.fanart.tv/v3/music/al ... ></details>
13:45:24 T:2108 DEBUG: CurlFile::Open(09913320) http://webservice.fanart.tv/v3/music/al ... d966a04f1/
13:45:24 T:2108 ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
13:45:24 T:2108 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
13:45:24 T:2108 ERROR: ADDON::CScraper::Run: Unable to parse web site
...

How do I fix this?

regards
Anders
Post Reply