Kodi Community Forum

Full Version: Videowindow Control type
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Anyone know of a way to use the Videowindow control type from withing a WindowXMLDialog?

My hacky workaround stopped working in Isengard...
This workaround has stopped working in Isengard

http://forum.kodi.tv/showthread.php?tid=159445

Error received when I call the window with onload:

Code:
13:17:37 T:8168   DEBUG: Activating window ID: 19506
13:17:37 T:8168    INFO: Activate of window '19506' refused because there are active modal dialogs

Can a kodi team member please clue me into what has changed in 15 that would cause this to stop working?

Thanks
(2015-06-03, 22:21)Lunatixz Wrote: [ -> ]13:17:37 T:8168 INFO: Activate of window '19506' refused because there are active modal dialogs[/code]
i'm not familiar with your addon, but this error means you first need to close the dialog before you can activate a new window.
it's indeed a change that was made in isengard.
Thanks for the reply...

Unfortunately my dialog window needs to stay open, I need to be able to stack windows.

Is there a reason this change was placed into isengard... any chance we can bring it back?

Basically my "overlay" window dialog runs continuously, another dialog window "EPG" is called over that, and the EPG "onloads" the hack so that a videowindow control type works

It's the only way I can achieve pip in my EPG window... for some reason videowindow control types refuse to work without this hack from a windowxmldialog
no idea about all of that. here's the PR that introduced the change:
6828 (PR)
Thanks for the info...
@Lunatixz please provide your addon or code snippet how do you want to use the videowindow control type within the WindowXMLDialog.
(2015-07-10, 10:26)xhaggi Wrote: [ -> ]@Lunatixz please provide your addon or code snippet how do you want to use the videowindow control type within the WindowXMLDialog.

Hi, Thanks for the response... Its really appreciated!

I want to call a resizable videowindow to uses as a (picture in picture) from a windowxmldialog, but because this dialog is layered on top of a fullscreen video and another windowsxmlDialog...
it never worked as expected, except for a hack mentioned here: http://forum.kodi.tv/showthread.php?tid=159445
This hack worked till the ability to activate another window while one is opened was restricted in 15.

Here is my EPG skin, you can see I want to use the window control type as you would expect to use it in a windowxml...
https://github.com/Lunatixz/XBMC_Addons/...PG.xml#L60

This is my first windowxmldialog that is placed over a fullscreen video, it can not be closed to switch between EPG:
https://github.com/Lunatixz/XBMC_Addons/...ay.py#L207

This is my second windowxmldialog that is layered over the fullscreen and overlay window:
https://github.com/Lunatixz/XBMC_Addons/...dow.py#L39

If you need more info, please let me know... Thanks
should be fixed with https://github.com/xbmc/xbmc/pull/7470
if you need a test-build please let me know which plattform.
(2015-07-10, 14:45)xhaggi Wrote: [ -> ]should be fixed with https://github.com/xbmc/xbmc/pull/7470
if you need a test-build please let me know which plattform.

Awsome man... thanks a lot!

Test build would be on windows os... thanks Smile
(2015-07-10, 14:45)xhaggi Wrote: [ -> ]should be fixed with https://github.com/xbmc/xbmc/pull/7470
if you need a test-build please let me know which plattform.

Can you make available a Windows build and an Android x86 build and I'll give them a whirl.
please read my last comment at the PR. This approach doesn't work sorry
(2015-07-11, 10:42)xhaggi Wrote: [ -> ]please read my last comment at the PR. This approach doesn't work sorry

Using Jul 14 Nightly My issues with the videowindow control type seems to have been fixed? Thanks Smile

Except for one little problem, the videowindow seems to use a still capture of the playing background video screen, and not a moving video.
This is an improvement over the videowindow not resizing at all, not sure why its using a still image over playing the video.

Hope this is an easy fix?

log:
http://xbmclogs.com/p8dh34vi0#line-3805

Log starts on line 3805, where the custom window 9506 is called. 9506 is the videowindow dialog work around discussed above.
@xhaggi were any changes made, reverted for Krypton?

Videowindow in a window dialog was working great after July 14th 2015 build.

If you can spare a second to look into it... I would be appreciative.

Thanks