This commit is contained in:
yumoqing 2020-07-28 21:44:13 +08:00
parent 00ed1ed218
commit bd297306a3

View File

@ -258,6 +258,13 @@ class OSC_VPlayer(BaseVPlayer):
def map(self,p,f): def map(self,p,f):
self.dispatcher.map(p,f,None) self.dispatcher.map(p,f,None)
def get_osc_info(self):
return {
"host":self.ip,
"port":self.port
}
class VPlayer(Swipe_VPlayer): class VPlayer(Swipe_VPlayer):
def __init__(self,vfile=None, loop=False,mute=False, opbar=True): def __init__(self,vfile=None, loop=False,mute=False, opbar=True):
self.opbar = opbar self.opbar = opbar