From 6f16f1312c848d26b7add592670b3f56be14c604 Mon Sep 17 00:00:00 2001 From: Aztup <55710232+Aztup@users.noreply.github.com> Date: Thu, 30 Oct 2025 14:14:43 +0100 Subject: [PATCH] fix(openInApp): Tidal regex (#3747) Tidal no longer requires /browse/ in its URLs Co-authored-by: lewisakura --- src/plugins/openInApp/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/openInApp/index.ts b/src/plugins/openInApp/index.ts index 04c4f441..5dcca372 100644 --- a/src/plugins/openInApp/index.ts +++ b/src/plugins/openInApp/index.ts @@ -52,7 +52,7 @@ const UrlReplacementRules: Record = { description: "Open Epic Games links in the Epic Games Launcher", }, tidal: { - match: /^https:\/\/tidal\.com\/browse\/(track|album|artist|playlist|user|video|mix)\/(.+)(?:\?.+?)?$/, + match: /^https:\/\/tidal\.com\/(?:browse\/)?(track|album|artist|playlist|user|video|mix)\/(.+)(?:\?.+?)?$/, replace: (_, type, id) => `tidal://${type}/${id}`, description: "Open Tidal links in the Tidal app", },