Thread Rating:
  • 0 Vote(s) - 0 Average
OFDB MovieposterDB doesn't work why ?
#1
Hi,
i try to add the GetMoviePosterDB Thumbs add to the OFDB Scraper, but it doesn't work, what's my failure ?

Here is my Scraper Code : http://pastebin.com/m14ffbe81

Big THX

mafis90
Reply
#2
read the faq @ movieposterdb - it wants just the numbers not the tt part. that might be one issue.

also you are stuffing info into buffer 10 in GetMoviePosterDB while you want to return buffer 5? i assume you have c&p'd this from the imdb scraper, you need to read more carefully what goes on there. in particular the usage of clearbuffers="no" and the concating of buffers in GetIMDBPoster
Reply
#3
And where i found a documentation about this ?

In the Scraper Wiki http://wiki.xbmc.org/?title=Scraper.xml stand nothing about cleanbuffers or thumbs ?

mafis90
Reply
#4
there is no documentation.

clearbuffers means that the buffers in the scraper isn't cleared between subsequent function calls. this allows passing data between the scraper functions. the point here is that in order to support multiple thumbs you need to have a <thumbs> tag around them. since you are fetching results in different functions, you need to do this in the end. that's what the imdb scraper does, you can see that it first calls GetIMPAPoster (which fills $$8, $$9 - dont ask me why those are in two buffers), then $$10 gets filled in GetMovieDBPoster, and $$11 in GetIMDBPoster itself, before finally wrapping them all up in a <thumbs> tag.

also note that you need the <details> tag outside it all (reason for this is that everything is recursive, and we use the same function to parse all returned xml...)
Reply
#5
Can somebody help me please, because without a Documentation i can't unterstand this. I test it since Monday, and i doesn't work. Sad


THX

mafis90
Reply
#6
So one Idea http://pastie.org/250041, what is wrong it loads the OFDB Thumb, but not the MoviePosterDB Cover.

The Scraper Update is from spiff, but he don't find the failure, too.

If Somebody have a idea, what`s wrong post.

mafis90

( I can't edit my last post why? )
Reply
#7
i got tired trying to explain shit so i just commit it to svn. enjoy
Reply
#8
OK Thx
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
OFDB MovieposterDB doesn't work why ?00