From c24ff277207a2afe4a856fae0624e97bb8b1a10f Mon Sep 17 00:00:00 2001 From: Uriziel Date: Tue, 18 Sep 2012 13:10:39 +0200 Subject: [PATCH] Same as previous commit --- syncplay_mpc.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/syncplay_mpc.py b/syncplay_mpc.py index fdd8cf7..6fdc879 100644 --- a/syncplay_mpc.py +++ b/syncplay_mpc.py @@ -10,13 +10,12 @@ class SyncplayMPC: # self.interface = ui.getUi(graphical = not self.args.no_gui) self.interface = ui.getUi(graphical = False) #TODO: add gui self._promptForMissingArguments() - syncplayClient = client.SyncplayClient(self.args.name, lambda m: mpc.run_mpc(m, self.args.mpc_path, self.args.file, self.args._args), self.interface, self.args.debug) + syncplayClient = client.SyncplayClient(self.args.name, lambda m: mpc.run_mpc(m, self.args.mpc_path, self.args.file, self.args._args), self.interface, self.args.debug, self.args.room, self.args.password) self.interface.addClient(syncplayClient) syncplayClient.start(self.args.host, self.args.port) def _prepareArguments(self): self.argsGetter = utils.MPCConfigurationGetter() - self.argsGetter.prepareClientConfiguration() - self.args = self.argsGetter.getClientConfiguration() + self.args = self.argsGetter.getConfiguration() def _promptForMissingArguments(self): if (self.args.host == None):