From 9a70fb5d8158f1e05a39e1582935911626754fd5 Mon Sep 17 00:00:00 2001 From: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com> Date: Fri, 21 Nov 2025 09:56:12 -0700 Subject: [PATCH] Allow parentheses (angle brackets) in file name pattern (#1601) --- .../file-naming-pattern.component.html | 26 +++++++++---------- .../file-naming-pattern.component.scss | 24 ++++++++--------- .../file-naming-pattern.component.ts | 20 +++++++------- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/booklore-ui/src/app/features/settings/file-naming-pattern/file-naming-pattern.component.html b/booklore-ui/src/app/features/settings/file-naming-pattern/file-naming-pattern.component.html index a77e0a852..1ea7711ec 100644 --- a/booklore-ui/src/app/features/settings/file-naming-pattern/file-naming-pattern.component.html +++ b/booklore-ui/src/app/features/settings/file-naming-pattern/file-naming-pattern.component.html @@ -181,49 +181,49 @@
Basic pattern: {{ '{authors} - {title}' }}
Output: J.K. Rowling - Harry Potter and the Sorcerer's Stone.epub
Output: Patrick Rothfuss - The Name of the Wind.epub
Pattern with punctuation: {{ '{title}: {series}' }}
Output: Harry Potter and the Sorcerer's Stone: Harry Potter.epub
Output: The Name of the Wind: The Kingkiller Chronicle.epub
Series in folder path: {{ '{authors}/{series}/{seriesIndex} - {title}' }}
Output: J.K. Rowling/Harry Potter/01 - Harry Potter and the Sorcerer's Stone.epub
Output: Patrick Rothfuss/The Kingkiller Chronicle/01 - The Name of the Wind.epub
Folder only: {{ '{title}/' }}
Output: /Harry Potter and the Sorcerer's Stone/harry1_original.epub
Output: /The Name of the Wind/name_of_the_wind_original.epub
Absolute path: {{ '/{authors}/{title}' }}
Output: /J.K. Rowling/Harry Potter and the Sorcerer's Stone.epub
Output: /Patrick Rothfuss/The Name of the Wind.epub
Reuse original filename in path: {{ '{authors}/{series}/{currentFilename}' }}
Output: J.K. Rowling/Harry Potter/harry1_original.epub
Output: Patrick Rothfuss/The Kingkiller Chronicle/name_of_the_wind_original.epub
Title + Subtitle: {{ '{title}: {subtitle}' }}
Output: Harry Potter and the Sorcerer's Stone: The Boy Who Lived.epub
Output: The Name of the Wind: The Kingkiller Chronicle: Day One.epub