aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAnderson Shindy Oki <[email protected]>2024-12-04 22:06:14 +0900
committerAnderson Shindy Oki <[email protected]>2024-12-04 22:06:14 +0900
commit1358480bd307d40a8add72c45790fa3aa1b740b0 (patch)
tree67798213aaa76589aa0634e14f3c661b380d3a73
parentc30c822f37948067a94054245c5a3a9aa23821ee (diff)
downloadbazarr-1358480bd307d40a8add72c45790fa3aa1b740b0.tar.gz
bazarr-1358480bd307d40a8add72c45790fa3aa1b740b0.zip
fixed end of progress
-rw-r--r--bazarr/subtitles/sync.py6
-rw-r--r--frontend/src/modules/task/notification.ts2
2 files changed, 6 insertions, 2 deletions
diff --git a/bazarr/subtitles/sync.py b/bazarr/subtitles/sync.py
index 1a762a49c..6df633dd0 100644
--- a/bazarr/subtitles/sync.py
+++ b/bazarr/subtitles/sync.py
@@ -51,7 +51,11 @@ def sync_subtitles(video_path, srt_path, srt_lang, forced, hi, percent_score, so
count=1)
subsync.sync(**sync_kwargs)
finally:
- hide_progress(id=f'subsync_{subtitles_filename}')
+ show_progress(id=f'subsync_{subtitles_filename}',
+ header='Syncing Subtitle',
+ name=srt_path,
+ value=1,
+ count=1)
del subsync
gc.collect()
return True
diff --git a/frontend/src/modules/task/notification.ts b/frontend/src/modules/task/notification.ts
index e8285193a..97601b452 100644
--- a/frontend/src/modules/task/notification.ts
+++ b/frontend/src/modules/task/notification.ts
@@ -27,7 +27,7 @@ export const notification = {
};
},
- PROGRESS_TIMEOUT: 3 * 1000,
+ PROGRESS_TIMEOUT: 10 * 1000,
progress: {
pending: (