Compare commits

...
Author SHA1 Message Date
Arthur Jamet f49b415712 Server: Fix parsing of song names with words ending with 'ft' 2026-09-30 11:59:56 +01:00
2 changed files with 3 additions and 1 deletions

No files matched your search

+2
View File
@@ -340,6 +340,8 @@ describe("Parser Service", () => {
[],
],
["Good Times With Bad People", "Good Times With Bad People", []],
["Lift Me Up", "Lift Me Up", []],
["Lift Me Up (Remix)", "Lift Me Up (Remix)", []],
] as const;
for (const [
+1 -1
View File
@@ -212,7 +212,7 @@ export default class ParserService {
if (!sstart && !ssend) {
// If there is no delimiters
featureSubGroup = strippedGroup.match(
/(ft\.?|feat(uring|\.)?)\s+(?<artists>.*)$/i,
/(\s+ft\.?|feat(uring|\.)?)\s+(?<artists>.*)$/i,
);
artistGroupIndex = 3;
}