set zoomlevel from script?
#1
Hi,

I'm writing my first plugin to scrape deRedactie.be (Belgian News site).
Since the videoquality is not so high and I'm watching it on a 1080P screen, I would like to change the zoomlevel.
Is there a way to set that from the script?

Cheers,
Beau
Reply
#2
There might be a cleaner way to do this, but I know that Zoom is a function in the HTTP API (which is exposed to Python).

The code would look something like this:

Code:
import xbmc

xbmc.executehttpapi("Zoom(2)")

The (admittedly slim) documentation for the Zoom function can be found here.
For scripts, script development tools, and documentation, visit my website:
http://www.maskedfox.com/xbmc/
Reply

Logout Mark Read Team Forum Stats Members Help
set zoomlevel from script?1