feat: adding directors cut filter

This commit is contained in:
Chubby Granny Chaser 2024-07-04 23:11:21 +01:00
parent d8158bb80e
commit f706836a43
No known key found for this signature in database

View file

@ -53,8 +53,9 @@ export const removeDuplicateSpaces = (name: string) =>
export const formatName = pipe<string>(
removeReleaseYearFromName,
removeSymbolsFromName,
removeSpecialEditionFromName,
(str) => str.replace(/DIRECTOR'S CUT/g, ""),
removeSymbolsFromName,
removeDuplicateSpaces,
(str) => str.trim()
);