It seems I'll be forced to switch to VLC because of some reasons, and I am trying to modify VLC plugin a little. What I want to make is a seek command, that would give me the possibility to set seek time using remote control. It seems everthing clear to me in the existing plugin, but please tell the noobie, how could I get value from keyboard(or remote)?
I'd like to make this action:
The problem - value of "xx" needs to be read from remote or keyboard(number keys on UltraX work using keyboard driver). Is there any way to get some user input in the middle of an action? Or the only workaround would be to make 10 actions for numbers 0-9, then assign button to each and put values to eg.globals.MySeekVar?class Seek(eg.ActionClass):
description = ("Seek some time")
def __call__(self, xx):
self.plugin.push("seek" + xx + "\r\n")