2018-03-08, 14:58
Hello fellow devs,
I'm writing a script addon to play a video playlist within a video window that covers only a portion of the screen, while the rest of the screen is used to disk play dynamic information about the current video.
I've used a WindowXML skin file to define a video window control that covers only a portion of the screen. I'm successfully able to start playing the video playlist within this window by first creating a playlist composed of listiems (videos) and playing it with xbmc.Player().play(playlist, windowed=True).
However, when the player moves to the next item in the playlist, it switches to full screen mode automatically.
I'm looking for a way to stop that switch from happening and playing every subsequent item in the windowed mode as well. Any help will be appreciated.
P.S. - Kodi version 17.6. Tested this behaviour on OSML on Pi, LibreELEC on Pi and LibreELEC on ODROID C2. Will soon test on Kodi running on a Mac.
I'm writing a script addon to play a video playlist within a video window that covers only a portion of the screen, while the rest of the screen is used to disk play dynamic information about the current video.
I've used a WindowXML skin file to define a video window control that covers only a portion of the screen. I'm successfully able to start playing the video playlist within this window by first creating a playlist composed of listiems (videos) and playing it with xbmc.Player().play(playlist, windowed=True).
However, when the player moves to the next item in the playlist, it switches to full screen mode automatically.
I'm looking for a way to stop that switch from happening and playing every subsequent item in the windowed mode as well. Any help will be appreciated.
P.S. - Kodi version 17.6. Tested this behaviour on OSML on Pi, LibreELEC on Pi and LibreELEC on ODROID C2. Will soon test on Kodi running on a Mac.