Python wont run after I set video to a normal mode - 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: Python wont run after I set video to a normal mode (/showthread.php?tid=321843) |
Python wont run after I set video to a normal mode - Pr0ph3cyTiger - 2017-09-22 Hi all, I need some help with getting the python code to work after when I set the video to a full screen mode.I have a trouble with calling onAction function, when I pressed on the enter button it will start to play the video stream and when I pressed on the enter button again it will set the video to a full screen mode as it will be calling onAction function without have any problem. When I pressed on the backspace button, it will set the video to a normal screen mode but it won't be calling onAction function unless when I have to press backspace button again. If I don't set the video to a full screen just a normal video mode, I can be able to call onAction function without have any problem when I press on the up, down, left, right arrow and backspace buttons of the keyboard. I can't be able to find out why it would not let me to call onAction function when I set the video to full screen mode and then set the video to a normal screen mode when I pressed on the backspace button. I think something have to do with video control issue but I am not too sure why. I am using videowindows control on my skinning so I can watch the small video by using this: Code: <control type="videowindow"> Here is the code that I use to run on python: Code: def playStreamUrl(self): How I can be able to call onAction function when I set the video to a full screen mode and then set to a normal screen mode? Do I need to create a custom video windows so I could be able to call onAction function or what? |