2009-05-19, 17:47
2009-05-20, 11:05
nobody ?
2009-05-21, 11:26
Player.isPlayingVideo() tells you whether the video is playing (http://xbmc.sourceforge.net/python-docs/...tml#Player), I don't know about the full-screen part.
What do you to use it for?
What do you to use it for?
2009-05-25, 14:18
Yes, I know that.
I have done a small python script, and I would like to differentiate the behaviour when someone click on an icon when the player is a fullscreen or not.
An example would be a button to set the player is fullscreen (but not a toggle)
Thanks.
I have done a small python script, and I would like to differentiate the behaviour when someone click on an icon when the player is a fullscreen or not.
An example would be a button to set the player is fullscreen (but not a toggle)
Thanks.
2009-05-25, 14:25
videoplayer.isfullscreen (info bool)
2009-05-25, 14:41
Hey Spiff,
the method doesn't seem to be in the docs (http://xbmc.sourceforge.net/python-docs/...tml#Player), what does the boolean parameter do?
the method doesn't seem to be in the docs (http://xbmc.sourceforge.net/python-docs/...tml#Player), what does the boolean parameter do?
2009-05-25, 15:08
uhm, it returns true if the video player is in full screen and false if it's not. used for visibility conditions...
it is NOT part of the python player object, as i said it is an info bool.
if there is no python method for grabbing info bools, you need to do it through the http api
it is NOT part of the python player object, as i said it is an info bool.
if there is no python method for grabbing info bools, you need to do it through the http api
2009-05-25, 16:18
Thanks Spiff.
Ok, I got the list of boolean conditions:
http://wiki.xbmc.org/index.php?title=Lis...Conditions
no idea which HTTP API function to use to get them...
http://wiki.xbmc.org/?title=List_of_Built_In_Functions
Ok, I got the list of boolean conditions:
http://wiki.xbmc.org/index.php?title=Lis...Conditions
no idea which HTTP API function to use to get them...
http://wiki.xbmc.org/?title=List_of_Built_In_Functions
2009-05-25, 16:40
well, i did not say you had to use the http api. some simple grepping brought
xbmc.getCondVisibility(condition)
ie. xbmc.getCondVisibility('videoplayer.isfullscreen')
voila
xbmc.getCondVisibility(condition)
ie. xbmc.getCondVisibility('videoplayer.isfullscreen')
voila
2009-05-25, 17:10
Thank spiff, much appreciated!