mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-20 09:43:57 +00:00
feat: adding directors cut filter
This commit is contained in:
@@ -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()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user