From 4458e701a5af533958d1d6f850ba70ea5fcffb03 Mon Sep 17 00:00:00 2001 From: vappster Date: Wed, 19 Jun 2024 23:46:34 +0200 Subject: [PATCH] Update in-call player patch 1 (Discord doomsday fix) & improve match regex --- src/plugins/NeverPausePreviews/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/NeverPausePreviews/index.ts b/src/plugins/NeverPausePreviews/index.ts index 8c74c921d..0f34aaf72 100644 --- a/src/plugins/NeverPausePreviews/index.ts +++ b/src/plugins/NeverPausePreviews/index.ts @@ -32,10 +32,10 @@ export default definePlugin({ } }, { //in-call player patch #1 (keep stream playing) - find: "VideoStreamFit:", + find: "onSpinnerStarted():null", replacement: { - match: /paused:\i}\)/, - replace: "paused:false})" + match: /paused:\i([^=])/, + replace: "paused:false$1" } }, { //in-call player patch #2 (disable "your stream is still running" text overlay)