From f9bdf036896cd96dad67263b74ce379c3af54584 Mon Sep 17 00:00:00 2001 From: Et0h Date: Mon, 17 Oct 2016 18:04:13 +0100 Subject: [PATCH] Increase folder timeout thresholds --- syncplay/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncplay/constants.py b/syncplay/constants.py index fb9d5ed..5cd09f5 100644 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -54,8 +54,8 @@ DO_NOT_RESET_POSITION_THRESHOLD = 1.0 SYNC_ON_PAUSE = True # Client seek to global position - subtitles may disappear on some media players # Options for the File Switch feature: -FOLDER_SEARCH_FIRST_FILE_TIMEOUT = 10.0 # Secs - How long to wait to find the first file in folder search (to take account of HDD spin up) -FOLDER_SEARCH_TIMEOUT = 3.0 # Secs - How long to wait until searches in folder to update cache are aborted (after first file is found) +FOLDER_SEARCH_FIRST_FILE_TIMEOUT = 15.0 # Secs - How long to wait to find the first file in folder search (to take account of HDD spin up) +FOLDER_SEARCH_TIMEOUT = 6.0 # Secs - How long to wait until searches in folder to update cache are aborted (after first file is found) FOLDER_SEARCH_DOUBLE_CHECK_INTERVAL = 30.0 # Secs - Frequency of updating cache when someone is playing a file not in current cache #Usually there's no need to adjust these