XBMC Community Forum
Imdb with python - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: Imdb with python (/showthread.php?tid=12042)



- afeno - 2005-05-09 15:56

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


- Phunck - 2005-05-10 10:28

i think you can only get the imdb info from the currently playing movie:

xbmc.player().getvideoinfotag()

http://www.xbmcscripts.com/downloads/documentation/xbmc.html


- afeno - 2005-06-02 14:49

and it´s not possible to pass a parameter to that function with the name of the movieConfused?

thanks in advance!

alfredo.


- solexalex - 2005-06-02 17:26

try to create your own function :
1- request imdb website with video name
2- parse the return webpage and get the info you want


- afeno - 2005-10-16 16:30

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


- afeno - 2006-07-07 05:40

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.


- althekiller - 2006-07-15 02:17

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.