Windowed user preference for Player().play() method. : : : : : Kodi version 17 docs. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Windowed user preference for Player().play() method. : : : : : Kodi version 17 docs. (/showthread.php?tid=321013) |
Windowed user preference for Player().play() method. : : : : : Kodi version 17 docs. - Luke Cage - 2017-09-03 Ref : http://mirrors.xbmc.org/docs/python-docs/16.x-jarvis/xbmc.html#Player-play Quote:windowed : [opt] bool - true=play video windowed, false=play users preference.(default)So how and where does the xbmc.Player().play() method pick up the user's preference when I pass false to the windowed argument ? Code: Plays the movie windowed in the small videowindow control of the popup dialog window : Code: Always plays the movie in full screen : Also, are there docs specific to version 17 of Kodi ? Windowed user preference for Player().play() method. : : Kodi version 17 docs. - Luke Cage - 2017-09-06 I had to take a quick peek at the code (which I was trying to avoid). Looks like Kodi doesn't look for user's preference. In MediaSettings.h and MediaSettings.cpp there is one private property m_videoStartWindowed which is only accessed by the getter and setter DoesVideoStartWindowed() and SetVideoStartWindowed() : Code: bool DoesVideoStartWindowed() const { return m_videoStartWindowed; } I only had a 3 minute peek. But I'm pretty sure. This thread can be closed. |