Scrapers and the use of movie sets
#1
Question 
Hi there,

I wanted to include a movie set in the results returned by a scraper. It seems however that <set></set> does not work in the GetDetails function. I've hear that Cine-Passion does it, but dont know how. Can anyone help me here?

Thanks,

Mano3m
Reply
#2
The following xml does not create a new set or add to the set "My Tester". What am I doing wrong? (the rest of the data is added to xbmc)

<details><id>tt1092026</id><title>Paul</title><originaltitle>Paul</originaltitle><year>2011</year><runtime>104</runtime><tagline>Who's up for a close encounter?</tagline><mpaa>Rated R</mpaa><genre>Action</genre><genre>Adventure</genre><genre>Comedy</genre><genre>Foreign</genre><genre>Science Fiction</genre><studio>Universal Pictures</studio><country>France</country><country>United States of America</country><country>United Kingdom</country><country>Spain</country><set>My Tester</set><plot>For the past 60 years, a space-traveling smart-ass named Paul has been locked up in a top-secret military base, advising world leaders about his kind. But when he worries he&amp;#8217;s outlived his usefulness and the dissection table is drawing uncomfortably close, Paul escapes on the first RV that passes by his compound in Area 51. Fortunately, it contains the two earthlings who are most likely to rescue and harbor an alien on the run.</plot><overview>For the past 60 years, a space-traveling smart-ass named Paul has been locked up in a top-secret military base, advising world leaders about his kind. But when he worries he&amp;#8217;s outlived his usefulness and the dissection table is drawing uncomfortably close, Paul escapes on the first RV that passes by his compound in Area 51. Fortunately, it contains the two earthlings who are most likely to rescue and harbor an alien on the run.</overview><director>Greg Mottola</director><actor><name>Seth Rogen</name><role>Paul (voice)</role></actor><actor><name>Jane Lynch</name><role>Pat Stevenson</role></actor><actor><name>Kristen Wiig</name><role>Ruth Buggs</role></actor><actor><name>Jason Bateman</name><role>Special Agent Lorenzo Zoil</role></actor><actor><name>Sigourney Weaver</name><role>Tara</role></actor><actor><name>Simon Pegg</name><role>Graeme Willy</role></actor><actor><name>Bill Hader</name><role>Haggard</role></actor><actor><name>Blythe Danner</name><role>Tara Walton</role></actor><actor><name>Nick Frost</name><role>Clive Gollings</role></actor><actor><name>Jeffrey Tambor</name><role>Adam Shadowchild</role></actor><actor><name>Steven Spielberg</name><role>Himself</role></actor><actor><name>David Koechner</name><role>Gus</role></actor><actor><name>Jennifer Granger</name><role>Adam Shadowchild Fan</role></actor><actor><name>Seth Rogen</name><role>Paul (voice)</role><thumb>http://cf1.imgobject.com/profiles/3e6/4d35b0135e73d6335200a3e6/seth-rogen-original.jpg</thumb></actor><actor><name>Jane Lynch</name><role>Pat Stevenson</role><thumb>http://cf1.imgobject.com/profiles/2ed/4c4328b57b9aa145910002ed/jane-lynch-original.jpg</thumb></actor><actor><name>Kristen Wiig</name><role>Ruth Buggs</role><thumb>http://cf1.imgobject.com/profiles/a4f/4bfd4313017a3c702b000a4f/kristen-wiig-original.jpg</thumb></actor><actor><name>Jason Bateman</name><role>Special Agent Lorenzo Zoil</role><thumb>http://cf1.imgobject.com/profiles/058/4c1a3dce7b9aa1156c000058/jason-bateman-original.jpg</thumb></actor><actor><name>Sigourney Weaver</name><role>Tara</role><thumb>http://cf1.imgobject.com/profiles/0d5/4bca5480017a3c0e950000d5/sigourney-weaver-original.jpg</thumb></actor><actor><name>Simon Pegg</name><role>Graeme Willy</role><thumb>http://cf1.imgobject.com/profiles/15c/4bd74bd3017a3c21e900015c/simon-pegg-original.jpg</thumb></actor><actor><name>Bill Hader</name><role>Haggard</role><thumb>http://cf1.imgobject.com/profiles/004/4bed6ca0017a3c4589000004/bill-hader-original.jpg</thumb></actor><actor><name>Blythe Danner</name><role>Tara Walton</role><thumb>http://cf1.imgobject.com/profiles/15b/4ce0667c7b9aa168b300015b/blythe-danner-original.jpg</thumb></actor><actor><name>Nick Frost</name><role>Clive Gollings</role><thumb>http://cf1.imgobject.com/profiles/26c/4bf9801f017a3c702f00026c/nick-frost-original.jpg</thumb></actor><actor><name>Jeffrey Tambor</name><role>Adam Shadowchild</role><thumb>http://cf1.imgobject.com/profiles/0a6/4cee7b7b7b9aa1349a0000a6/jeffrey-tambor-original.jpg</thumb></actor><actor><name>Steven Spielberg</name><role>Himself</role><thumb>http://cf1.imgobject.com/profiles/dab/4d2de7dd5e73d63a5d00ddab/steven-spielberg-original.jpg</thumb></actor><actor><name>David Koechner</name><role>Gus</role><thumb>http://cf1.imgobject.com/profiles/12a/4ce062017b9aa168b100012a/david-koechner-original.jpg</thumb></actor><chain function="GetTMDBThumbsByIdChain">39513</chain></details>
Reply
#3
Still dont know why it didnt work, but when adding the actual xml for retreiving the collection it worked... I now have updated the tmdb scraper to add movies to the collection available on tmdb (like adding the new pirates of the caribbean to the pirates of the caribbean collection set). Anyone interested?
Reply
#4
You're doing this by scraping the website or is it included in the API response?
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#5
Its not in the api so indeed I scrape the website. Its still fast though...
Reply
#6
Meh, not an option for the official repository as we want to keep it clean (API only). We've already requested an update for the API so we can handle sets.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#7
From what I have read this was requested 1.5 years ago and not much progress yet... No functionality over cleanliness strategy applicable here?
Reply
#8
Hope dies last Wink I'll start an internal discussion about this. Btw, thanks for the offer.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#9
As you might know it now is part of the new API! Smile The new api also includes the collections themselves: http://help.themoviedb.org/kb/api/about-3 It might be time to increase support for collections in XBMC in general?
Reply
#10
We will update the scraper soon (olympia is working on it). As the change came a bit too late, we can't support full movie set scraping in Eden but we'll add it after the upcoming release.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
Scrapers and the use of movie sets0