%58 - Default room always assumed your username now.

This commit is contained in:
Uriziel 2012-12-30 18:45:41 +01:00
parent 11e7d53573
commit 9545e091bb
2 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class SyncplayClient(object):
self.userlist = SyncplayUserlist(self.ui, self)
self._protocol = None
if(config['room'] == None or config['room'] == ''):
config['room'] = constants.DEFAULT_ROOM
config['room'] = config['name'] # ticket #58
self.defaultRoom = config['room']
self.playerPositionBeforeLastSeek = 0.0
self.setUsername(config['name'])

View File

@ -4,7 +4,6 @@ OSD_DURATION = 3000
MPC_OSD_POSITION = 2 #Right corner, 1 for left
MPLAYER_OSD_LEVEL = 1
UI_TIME_FORMAT = "[%X] "
DEFAULT_ROOM = 'default'
DEFAULT_CONFIG_NAME = ".syncplay"
#Changing these might be ok