Kodi Community Forum

Full Version: Custom player view
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Big Grin
I am working on an add-on that lets you cast videos to Chromecast device.
When i stream the video to the Chromecast the video keeps playing in Kodi(i use the OSD controls to control the 'casted' media).
My current solution is to dynamically create a dummy video with the length of the real video and play it when Chromecast starts playing. This is a bit CPU consuming(and not the prettiest solution)

today i found out that i can show the OSD from json-rpc command and started thinking maybe there is a better solution by changing skin settings(if there is any way to show a mini player or a picture + the videoosd).
I am very bad at skinning so i really need some ideas
You could try to use "playercontrols.xml"

PHP Code:
ActivateWindow(playercontrols

Not shure how this Window looks on different Skins in "Lucid" it looks like this (screeen below) and allow basic player Controls depending on the played Media.

Screen:

Image

http://imgur.com/a/gNHVj