Replacing httpapi for frodo
#1
hi,
I've a python script wich is used to get subtitles,
but it uses the xbmc.executehttpapi
like this :
Code:
# search TVDB's id from tvshow's title
        query = 'select c12 from tvshow where c00 = "' + unicode(title) + '" limit 1'
        res = xbmc.executehttpapi("queryvideodatabase(" + query + ")")
I was wondering, by what could I replace this ?
I was trying to use the xbmc.getIMDBnumber()
http://mirrors.xbmc.org/docs/python-docs...IMDBNumber
but I don't really know how to use it.
and I was wondering if was better to use the JSON api or the xbmc class ?
thank you for your time.
Reply
#2
https://github.com/amet/script.xbmc.subt...es.py#L276
Reply
#3
That's a sweet awnser !
Thank you very much for your Time.
It's wonderfull !
Reply

Logout Mark Read Team Forum Stats Members Help
Replacing httpapi for frodo0