2013-09-02, 13:56
Hello everybody,
I'm building an addon which include a small player control (play/pause, next, previous and seeking).
To display the position in the current file, I use a ControlProgress:
It works prety well, but that one cannot be used to move into the file (no action are linked to it).
To add seeking control, I want to replace my progressbar by a slider, so I try:
But when I do that, the slider is not displayed...
Do I forget something?
Thank you in advance.
I'm building an addon which include a small player control (play/pause, next, previous and seeking).
To display the position in the current file, I use a ControlProgress:
Code:
self.playerProgress = xbmcgui.ControlProgress(left, self.height-130, self.width-left-10, 50)
self.addControl(self.playerProgress)
It works prety well, but that one cannot be used to move into the file (no action are linked to it).
To add seeking control, I want to replace my progressbar by a slider, so I try:
Code:
self.playerProgress = xbmcgui.ControlSlider(left, self.height-130, self.width-left-10, 50)
self.addControl(self.playerProgress)
But when I do that, the slider is not displayed...
Do I forget something?
Thank you in advance.