diff --git a/syncplay/__init__.py b/syncplay/__init__.py index 8768bee..5a2de5c 100755 --- a/syncplay/__init__.py +++ b/syncplay/__init__.py @@ -1,4 +1,4 @@ -version = '1.7.0' +version = '1.7.2' revision = '' milestone = 'Yoitsu' release_number = '107' diff --git a/syncplay/players/vlc.py b/syncplay/players/vlc.py index d52fcc8..a9427f5 100755 --- a/syncplay/players/vlc.py +++ b/syncplay/players/vlc.py @@ -460,19 +460,19 @@ class VlcPlayer(BasePlayer): self.__playerController.vlcIntfUserPath = os.path.join(os.getenv('APPDATA', '.'), "VLC\\lua\\intf\\") copyTo = os.path.join(os.path.dirname(playerPath) + "\\plugins\\control\\", "libsyncplay_chat_plugin.dll") - if not os.path.exists(copyTo): - copyForm = utils.findResourcePath("libsyncplay_chat_plugin.dll") - self.__playerController._client.ui.showDebugMessage("Copying VLC Syncplay Chat Plugin from '{}' to '{}'".format(copyForm, copyTo)) - import ctypes - commands = u'/k mklink /H "{}" "{}"'.format(copyTo, copyForm) - ctypes.windll.shell32.ShellExecuteW( - None, - u"runas", - u"cmd.exe", - commands, - None, - 0 - ) + #if not os.path.exists(copyTo): + copyForm = utils.findResourcePath("libsyncplay_chat_plugin.dll") + self.__playerController._client.ui.showDebugMessage("Copying VLC Syncplay Chat Plugin from '{}' to '{}'".format(copyForm, copyTo)) + import ctypes + commands = u'/k mklink /H "{}" "{}"'.format(copyTo, copyForm) + ctypes.windll.shell32.ShellExecuteW( + None, + u"runas", + u"cmd.exe", + commands, + None, + 0 + ) self.__playerController.vlcModulePath = self.__playerController.vlcIntfPath + "modules/?.luac" def _createIntfFolder(vlcSyncplayInterfaceDir): self.__playerController._client.ui.showDebugMessage("Checking if syncplay.lua intf directory exists") diff --git a/syncplay/resources/plugins/win64/libsyncplay_chat_plugin.dll b/syncplay/resources/plugins/win64/libsyncplay_chat_plugin.dll index 48ba347..40b3818 100644 Binary files a/syncplay/resources/plugins/win64/libsyncplay_chat_plugin.dll and b/syncplay/resources/plugins/win64/libsyncplay_chat_plugin.dll differ