[WIP] The Paper Street Soap Company (mockups and development of a new skin concept)

  Thread Rating:
  • 12 Votes - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #106
ppic Wrote:tmdb seems to be more useable for scrapping yes, for thumb, we already have image link in db (when available)

Understood, but would it be possible to expand this return with additional pictures? The single thumb in the database tends to be small, often black and white.

If would could throw in some addition (optional) sources for the skin to make use of it would lead to a richer browsing expeiance (IMO).
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #107
yes, doable, just need to have a good source, i think ronie will prefer to handle a unique or just 2 images format, if the source give us plenty kind of image, non standard sized, it will be a mess for him.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
ronie Offline
Team-Kodi Member
Posts: 9,189
Joined: Jan 2009
Reputation: 158
Post: #108
blacklist Wrote:If would could throw in some addition (optional) sources for the skin to make use of it would lead to a richer browsing expeiance (IMO).
blacklist Wrote:For instance, (possibly nsfw)

http://www.skins.be/Anne-Hathaway/

a 'richer' browsing experience, eh ?
i see...lol!

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #109
ronie Wrote:a 'richer' browsing experience, eh ?
i see...lol!

They are wallpapers. Tongue I was trying to be considerate. Big Grin

Their advertising tends to be a bit nsfw. Tongue
(This post was last modified: 2010-12-12 20:08 by blacklist.)
find
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #110
ppic Wrote:yes, doable, just need to have a good source, i think ronie will prefer to handle a unique or just 2 images format, if the source give us plenty kind of image, non standard sized, it will be a mess for him.

Maybe Ronie can correct me, but I think it's not a big deal on image size as long as we are specific on the constraints and center the image. Might result in some cut off heads occasionally, but not the end of the world. Wink
find
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #111
On browsing through themovidedb actor bios, however - frankly they suck. Imdb would be better. Maybe we can make use of the already existing imdb scraper?
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #112
http://images.google.com/images?q=James+franco

works better than your link, it doesn't return anything here !

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #113
blacklist Wrote:On browsing through themovidedb actor bios, however - frankly they suck. Imdb would be better. Maybe we can make use of the already existing imdb scraper?

imdb scraper doesn't get actor inforamtions i think.

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #114
ppic Wrote:imdb scraper doesn't get actor inforamtions i think.

No, but I thought it would be easier to modify the existing scraper to get actor info instead of writing a new scraper. Tongue

I'm not sure what was going on with that google images link i posted.

Maybe we can make use of this: http://code.google.com/appengine/docs/python/images/

Or.

http://blogoscoped.com/archive/2007-07-23-n30.html. Big Grin

It looks like you need a google API key, I'm notmsure at all how that works, but may make getting google images trivial.
(This post was last modified: 2010-12-12 19:55 by blacklist.)
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #115
PIL is included in xbmc Wink but it's used to interact with image directly!

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #116
ppic Wrote:PIL is included in xbmc Wink but it's used to interact with image directly!

Then the second link may be more useful? Big Grin I'm just trying to be helpful since I'm not being much help on the actual coding. Big Grin

This is interesting, we might be able to use this URL to scrape

http://dearcomputer.nl/gir/?q=Anne+hatha...mgtype=any

Or

http://images.google.com/images?q=Sarah+...afe=active
http://images.google.com/images?q=anne+h...afe=active

That's the ticket.

I need to find out how to combine imgsz=huge and imgtype=face ideally. I can do it on the site but can't seem to write a URL to make it work.
(This post was last modified: 2010-12-12 20:49 by blacklist.)
find
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #117
yes your google request seems to be good Big Grin

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find
Oddsodz Offline
Fan
Posts: 345
Joined: Jun 2009
Reputation: 0
Post: #118
This is going to sound way off topic. But can anybody see how easy it would be to make this a "Harry Potter" style skin? lol. Just think if you was to add the "Ken/Burns-slide-zoom" effect on the larger fanart images. You would then get the feel of a "The Daily Prophet" or "The Quibbler" news paper. Oh my, How silly I sound. But I can see the appeal for it.
find
blacklist Offline
Posting Freak
Posts: 814
Joined: Jul 2009
Reputation: 1
Location: Atlanta, Ga, USA
Post: #119
Oddsodz Wrote:This is going to sound way off topic. But can anybody see how easy it would be to make this a "Harry Potter" style skin? lol. Just think if you was to add the "Ken/Burns-slide-zoom" effect on the larger fanart images. You would then get the feel of a "The Daily Prophet" or "The Quibbler" news paper. Oh my, How silly I sound. But I can see the appeal for it.

It's subconscious because i used potter I do many of my mock-ups. Wink

I agree that it could go that direction. Maybe one day someone will do a Harry Potter mod. Big Grin
find
Rad_ Offline
Member
Posts: 77
Joined: May 2009
Reputation: 0
Post: #120
blacklist Wrote:For the bio information i think themoviedb or imdb are going to be the best bet. I think themoviedb is more friendly to scrape from, they don't tend to mess with the layout of their site like imdb does. Unfortunately, their site Has fairly limited information in comparison.

http://www.themoviedb.org/person/1813. Is Anne Hathaway at themoviedb
http://www.imdb.com/name/nm0004266/ is Anne at imdb.

Now, unless im wrong (might be) the database already records themoviedb id? If so thatbmakes the scrape pretty trivial.


For the image my first choice would be images.google.com i think:

PHP Code:
http://images.google.com/images?hl=en&gbv=2&tbs=isch:1&&sa=X&ei=tPkETbzkK8T7lweM8uDiCQ&ved=0CC8QBSgA&q=James+franco&spell=1#q=James+franco 

Returns a pretty good selection of images of James Franco, and it is fairly easy to place image size constraints on the call.

Alternatively, there a a bunch of fan site and celebrity image archives that might be used... But have more likelihood of returning 0 results. (frankly they are geared at female celebrities for the most part....)

For instance, (possibly nsfw)

http://www.skins.be/Anne-Hathaway/
Returns a pretty thorough page devoted to the actress, and
http://www.skins.be/feeds/en/anne-hathaway.xml
Returns an rss feed of wallpapers dedicated to the actor.

now, these certainly wouldn't work for all actors, but then we could possibly fall back to google?

Wouldn't it be easier to petition TMDB folks to add more image fields to their actor db? Would require more user-input than just scraping google images for stuff that already exists, but the added bonus is that the results would be more uniformly useful and straightforward to scrape....

I know thetvdb folks have been threatening to upgrade for a long time without much external progress, but don't know about TMDB.... In that case, does it make sense to try to set up a new site for this? Seems like it wouldn't be terribly involved:

* Import all actor info from TMDB, and use their ID as primary key for lookups
* Add fields for fanarts and other ratios of images, and return multiples for each when they exist....

Certainly not a trivial task, but much more useful in the long term than any clever workarounds.

Kode has put together a great framework for something just like this for the TV Logos: http://fanart.tv

It's freshly redone and moved to that URL, but he's said adding support for other "types" of info (logos, season thumbs, [presumably] actors) will be trivial once everything's ironed out....

I'm sure if we all pitched in, we could have a perfect solution in a reasonable time.
find
Thread Closed