Remove VLC --data-path to hopefully fix #301 & #302

Following suggestion from @bobismijnnaam in #301
This commit is contained in:
Etoh 2020-05-02 15:51:15 +01:00 committed by GitHub
parent 25314cb552
commit ff6a6ad5a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,7 +407,6 @@ class VlcPlayer(BasePlayer):
playerController.vlcDataPath = "/usr/lib/syncplay/resources" playerController.vlcDataPath = "/usr/lib/syncplay/resources"
else: else:
playerController.vlcDataPath = utils.findWorkingDir() + "\\resources" playerController.vlcDataPath = utils.findWorkingDir() + "\\resources"
playerController.SLAVE_ARGS.append('--data-path={}'.format(playerController.vlcDataPath))
playerController.SLAVE_ARGS.append( playerController.SLAVE_ARGS.append(
'--lua-config=syncplay={{modulepath=\"{}\",port=\"{}\"}}'.format( '--lua-config=syncplay={{modulepath=\"{}\",port=\"{}\"}}'.format(
playerController.vlcModulePath, str(playerController.vlcport))) playerController.vlcModulePath, str(playerController.vlcport)))