![]() |
|
|||||||
| Scraper Development Developers forum for meta data scrapers. Scraper developers only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
![]() |
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 |
|
|
|
|
|
#2 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,715
![]() |
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
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. Last edited by spiff; 2008-08-08 at 14:21. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
![]() |
And where i found a documentation about this ?
In the Scraper Wiki http://xbmc.org/wiki/?title=Scraper.xml stand nothing about cleanbuffers or thumbs ? mafis90 |
|
|
|
|
|
#4 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,715
![]() |
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...)
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. Last edited by spiff; 2008-08-08 at 15:12. |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
![]() |
Can somebody help me please, because without a Documentation i can't unterstand this. I test it since Monday, and i doesn't work.
![]() THX mafis90 |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
![]() |
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? ) |
|
|
|
|
|
#7 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,715
![]() |
i got tired trying to explain shit so i just commit it to svn. enjoy
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
![]() |
OK Thx
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|