From f71358fd50f3d4f34050a9d5a3c9769f35eff4f8 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sun, 14 Apr 2024 11:43:22 +0300 Subject: [PATCH] bugfix --- src/client/components/downloaders/Spotify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/downloaders/Spotify.ts b/src/client/components/downloaders/Spotify.ts index b18dd25..830e609 100644 --- a/src/client/components/downloaders/Spotify.ts +++ b/src/client/components/downloaders/Spotify.ts @@ -188,7 +188,7 @@ class SpotifyDownloader extends Downloader #parseFilename (fileName: string) { - const match = fileName.match(/(?.+)\W---\W(?.+)\W---\W(?.+)(?\.\w+)$/u); + const match = fileName.match(/(?.+)\W---\W(?.+)\W---\W(?.+)\.(?\w+)$/u); if (!match || !match.groups) throw new Error('Unknown file name format');