Skip to content

Commit

Permalink
Allow folder search timings to be tweaked (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h committed May 26, 2024
1 parent 25fabbc commit 2cc95d6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syncplay/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = '1.7.3'
revision = ''
version = '1.7.4'
revision = ' development'
milestone = 'Yoitsu'
release_number = '112'
release_number = '113'
projectURL = 'https://syncplay.pl/'
3 changes: 3 additions & 0 deletions syncplay/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ def __init__(self, playerClass, ui, config):
constants.SHOW_SAME_ROOM_OSD = config['showSameRoomOSD']
constants.SHOW_DURATION_NOTIFICATION = config['showDurationNotification']
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.lastControlPasswordAttempt = None
Expand Down
7 changes: 7 additions & 0 deletions syncplay/ui/ConfigurationGetter.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def __init__(self):
"slowOnDesync": True,
"fastforwardOnDesync": True,
"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,
"filesizePrivacyMode": constants.PRIVACY_SENDRAW_MODE,
"pauseOnLeave": False,
Expand Down Expand Up @@ -163,6 +166,9 @@ def __init__(self):
"slowdownThreshold",
"rewindThreshold",
"fastforwardThreshold",
"folderSearchFirstFileTimeout",
"folderSearchTimeout",
"folderSearchDoubleCheckInterval",
"autoplayMinUsers",
"chatInputRelativeFontSize",
"chatInputFontWeight",
Expand All @@ -188,6 +194,7 @@ def __init__(self):
"name", "room", "roomList", "playerPath",
"perPlayerArguments", "slowdownThreshold",
"rewindThreshold", "fastforwardThreshold",
"folderSearchFirstFileTimeout", "folderSearchTimeout", "folderSearchDoubleCheckInterval",
"slowOnDesync", "rewindOnDesync",
"fastforwardOnDesync", "dontSlowDownWithMe",
"forceGuiPrompt", "filenamePrivacyMode",
Expand Down

0 comments on commit 2cc95d6

Please sign in to comment.