From bd297306a3ea888b4d92640ccb58bb9314864537 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 28 Jul 2020 21:44:13 +0800 Subject: [PATCH] bugfix --- kivyblocks/vplayer.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kivyblocks/vplayer.py b/kivyblocks/vplayer.py index f74dea8..d7c4382 100644 --- a/kivyblocks/vplayer.py +++ b/kivyblocks/vplayer.py @@ -258,6 +258,13 @@ class OSC_VPlayer(BaseVPlayer): def map(self,p,f): self.dispatcher.map(p,f,None) + def get_osc_info(self): + return { + "host":self.ip, + "port":self.port + } + + class VPlayer(Swipe_VPlayer): def __init__(self,vfile=None, loop=False,mute=False, opbar=True): self.opbar = opbar