Allow folder search timings to be tweaked (#682)

This commit is contained in:
Et0h 2024-05-26 19:19:36 +01:00
parent 25fabbcc50
commit 2cc95d6ef9
3 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,5 @@
version = '1.7.3' version = '1.7.4'
revision = '' revision = ' development'
milestone = 'Yoitsu' milestone = 'Yoitsu'
release_number = '112' release_number = '113'
projectURL = 'https://syncplay.pl/' projectURL = 'https://syncplay.pl/'

View File

@ -71,6 +71,9 @@ class SyncplayClient(object):
constants.SHOW_SAME_ROOM_OSD = config['showSameRoomOSD'] constants.SHOW_SAME_ROOM_OSD = config['showSameRoomOSD']
constants.SHOW_DURATION_NOTIFICATION = config['showDurationNotification'] constants.SHOW_DURATION_NOTIFICATION = config['showDurationNotification']
constants.DEBUG_MODE = config['debug'] constants.DEBUG_MODE = config['debug']
constants.FOLDER_SEARCH_FIRST_FILE_TIMEOUT = config['folderSearchFirstFileTimeout']
constants.FOLDER_SEARCH_TIMEOUT = config['folderSearchTimeout']
constants.FOLDER_SEARCH_DOUBLE_CHECK_INTERVAL = config['folderSearchDoubleCheckInterval']
self.controlpasswords = {} self.controlpasswords = {}
self.lastControlPasswordAttempt = None self.lastControlPasswordAttempt = None

View File

@ -50,6 +50,9 @@ class ConfigurationGetter(object):
"slowOnDesync": True, "slowOnDesync": True,
"fastforwardOnDesync": True, "fastforwardOnDesync": True,
"dontSlowDownWithMe": False, "dontSlowDownWithMe": False,
"folderSearchFirstFileTimeout": constants.FOLDER_SEARCH_FIRST_FILE_TIMEOUT,
"folderSearchTimeout": constants.FOLDER_SEARCH_TIMEOUT,
"folderSearchDoubleCheckInterval": constants.FOLDER_SEARCH_DOUBLE_CHECK_INTERVAL,
"filenamePrivacyMode": constants.PRIVACY_SENDRAW_MODE, "filenamePrivacyMode": constants.PRIVACY_SENDRAW_MODE,
"filesizePrivacyMode": constants.PRIVACY_SENDRAW_MODE, "filesizePrivacyMode": constants.PRIVACY_SENDRAW_MODE,
"pauseOnLeave": False, "pauseOnLeave": False,
@ -163,6 +166,9 @@ class ConfigurationGetter(object):
"slowdownThreshold", "slowdownThreshold",
"rewindThreshold", "rewindThreshold",
"fastforwardThreshold", "fastforwardThreshold",
"folderSearchFirstFileTimeout",
"folderSearchTimeout",
"folderSearchDoubleCheckInterval",
"autoplayMinUsers", "autoplayMinUsers",
"chatInputRelativeFontSize", "chatInputRelativeFontSize",
"chatInputFontWeight", "chatInputFontWeight",
@ -188,6 +194,7 @@ class ConfigurationGetter(object):
"name", "room", "roomList", "playerPath", "name", "room", "roomList", "playerPath",
"perPlayerArguments", "slowdownThreshold", "perPlayerArguments", "slowdownThreshold",
"rewindThreshold", "fastforwardThreshold", "rewindThreshold", "fastforwardThreshold",
"folderSearchFirstFileTimeout", "folderSearchTimeout", "folderSearchDoubleCheckInterval",
"slowOnDesync", "rewindOnDesync", "slowOnDesync", "rewindOnDesync",
"fastforwardOnDesync", "dontSlowDownWithMe", "fastforwardOnDesync", "dontSlowDownWithMe",
"forceGuiPrompt", "filenamePrivacyMode", "forceGuiPrompt", "filenamePrivacyMode",