Imdb with python

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
afeno Offline
Junior Member
Posts: 31
Joined: Oct 2004
Reputation: 0
Location: Barcelona
Post: #1
hello experts,
i would like to know how can i access to the imdb information with phyton like the xbmc does.
i have a movies database writed in phyton and i want to link each movie to the imdb information.

it´s possible to call a xbmc function or something to access imdb (in the same way that i can play movies from phytom)?

thanks for your help.

alfredo
find quote
Phunck Offline
Senior Member
Posts: 145
Joined: Apr 2005
Reputation: 0
Post: #2
i think you can only get the imdb info from the currently playing movie:

xbmc.player().getvideoinfotag()

http://www.xbmcscripts.com/downloads/doc.../xbmc.html
find quote
afeno Offline
Junior Member
Posts: 31
Joined: Oct 2004
Reputation: 0
Location: Barcelona
Post: #3
and it´s not possible to pass a parameter to that function with the name of the movieConfused?

thanks in advance!

alfredo.
find quote
solexalex Offline
Skilled Python Coder
Posts: 706
Joined: Jul 2004
Reputation: 6
Post: #4
try to create your own function :
1- request imdb website with video name
2- parse the return webpage and get the info you want
find quote
afeno Offline
Junior Member
Posts: 31
Joined: Oct 2004
Reputation: 0
Location: Barcelona
Post: #5
yes...
but i think that it's better and easier :hmm: to use the xbmc.player().getvideoinfotag() function already created or something like that.
i don't want to create my own imdb function....

regards,

alfredo
find quote
afeno Offline
Junior Member
Posts: 31
Joined: Oct 2004
Reputation: 0
Location: Barcelona
Sad    Post: #6
hi,
it's me again.
does anyone knows if there is a way to get the imdb info of a movie form phyton.

note: i just want to use the buit-in imdb function of xbmc. without re-writing the imdb function form cero.

thanks.
regards,
alfredo.
find quote
althekiller Offline
Team-XBMC Developer
Posts: 4,703
Joined: May 2004
Reputation: 12
Post: #7
I think there will be a lib on xbmcscripts soon to make requests to IMDb. Last I talked to the dev it was near completion but he was busy with RL.
find quote