diff --git a/.dockerignore b/.dockerignore index 0385ad2d0..2a2eb3f2d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,3 +2,5 @@ node_modules npm-debug.log output input +config.js +docker-compose.yml diff --git a/.gitignore b/.gitignore index 6414e4169..6f7c2d3c9 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ input/ *.heapsnapshot qbit/ cache.json +docker-compose.yml diff --git a/src/utils.ts b/src/utils.ts index 1606605d0..abf13f11c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -44,7 +44,7 @@ export function reformatTitleForSearching(name: string): string { const fullMatch = episodeMatch?.[0] ?? seasonMatch?.[0] ?? movieMatch?.[0] ?? name; return fullMatch - .replace(/[.()[\]]/g, " ") + .replace(/[._()[\]]/g, " ") .replace(/\s+/g, " ") .trim(); }