2013-02-20, 22:00
half way down for FanartTV.
API and Json deserializer done...
... now just to add it in Ember
It is strange how they show the data as the pictures appear to be in a different bucket compared to the website.
I already scrape the rating from TMDB.
For the images that is quite a mod as we have to add properties in settings etc... also it will not be used by any skin...
Not sure is good.
M
API and Json deserializer done...
... now just to add it in Ember
It is strange how they show the data as the pictures appear to be in a different bucket compared to the website.
(2013-02-20, 20:56)Pr.Sinister Wrote:(2013-02-19, 21:02)m.savazzi Wrote: Additional question: what do you think of rottentomatoes?
It does provide an API too...
OMG i would LOVE to see a Rotten Tomatoes scraper. But i have some ideas on how to make it be compatible with all skins. Some people won't agree with having extra media in their folder but nobody if forcing them to use it...
My idea is to have the scraper generate .png file in the movie folder or a subfolder. The files could be something like
Code:criticfresh.png
userfresh.png
Those files would only either be a fresh tomato or a rotten one. Or, we could have
Code:criticfresh.png/criticrotten.png
userfresh.png/userrotten.png
Again, those would only be the image of a fresh or rotten tomato. Just like the one before, this only adds 2 files. Not 4. This option gives the advantage of knowing if the movie is fresh or rotten when you are browsing files outside of XBMC.
Lastly, the ultimate one would be a total of 3 files :
Code:criticfresh.png/criticrotten.png
userfresh.png/userrotten.png
t-rating.png
The t-rating file would be an actual image of a percentage number between 0 and 100.
The beauty of all this is that it can be implemented in ANY skin right away and that we can keep re-scraping just this to get the latest ratings displayed in the skin on-the-fly. There is no need to update the XBMC library.
What do you think?
-Pr.
I already scrape the rating from TMDB.
For the images that is quite a mod as we have to add properties in settings etc... also it will not be used by any skin...
Not sure is good.
M