{Movie CleanTitle} does not always remove single quotes ' from titles #5346

Open
opened 2026-02-19 22:56:00 -05:00 by deekerman · 0 comments
Owner

Originally created by @drpeppershaker on GitHub (Dec 27, 2020).

Describe the bug
When using {Movie CleanTitle} in the naming scheme for movie format or folder format, single quotes are not always removed. It appears that if the single quote is at the beginning of a word in the title the single quote will stay, but if it is in the middle of a movie title it will remain.

Example:
Bill & Ted's Bogus Journey will correctly become Bill and Teds Bogus Journey.
However,
Trick 'r Treat will remain Trick 'r Treat
and
Hang 'em High will remain Hang 'em High

To Reproduce
Steps to reproduce the behavior:

  1. Set movie or folder format to anything that uses {Movie CleanTitle}
  2. Attempt to rename a movie with a single quote at the beginning of a word ('Twas the Night Before Christmas (1974) or Trick 'r Treat (2007) or Hang 'em High (1968))
  3. The movie and folder are not renamed appropriately.

Expected behavior
{Movie CleanTitle} should produce file and folder names with no special characters.

Screenshots
Screen Shot 2020-12-27 at 3 57 18 PM

Platform Information (please complete the following information):

  • OS: Unraid
    Version
    3.0.1.4259
    Package Version
    3.0.1.4259-1 by radarr
    .NET Core
    Yes (3.1.10)
    Docker
    Yes
    DB Migration
    188
    AppData directory
    /config
    Startup directory
    /usr/lib/radarr/bin
    Mode
    Console

Trace Logs
Turn on Trace logs under Settings -> General and wait for the bug to occur again. Upload the full log file here (or another site (e.g. pastebin) and link it). Issues will be closed, if they do not include this!
https://pastebin.com/3sMc8KjF

AB#740

Originally created by @drpeppershaker on GitHub (Dec 27, 2020). **Describe the bug** When using {Movie CleanTitle} in the naming scheme for movie format or folder format, single quotes are not always removed. It appears that if the single quote is at the beginning of a word in the title the single quote will stay, but if it is in the middle of a movie title it will remain. Example: Bill & Ted's Bogus Journey will correctly become Bill and Teds Bogus Journey. However, Trick 'r Treat will remain Trick 'r Treat and Hang 'em High will remain Hang 'em High **To Reproduce** Steps to reproduce the behavior: 1. Set movie or folder format to anything that uses {Movie CleanTitle} 2. Attempt to rename a movie with a single quote at the beginning of a word ('Twas the Night Before Christmas (1974) or Trick 'r Treat (2007) or Hang 'em High (1968)) 3. The movie and folder are not renamed appropriately. **Expected behavior** {Movie CleanTitle} should produce file and folder names with no special characters. **Screenshots** <img width="1065" alt="Screen Shot 2020-12-27 at 3 57 18 PM" src="https://user-images.githubusercontent.com/67330126/103179747-1c5dcd80-485d-11eb-9842-535106a99816.png"> **Platform Information (please complete the following information):** - OS: Unraid Version 3.0.1.4259 Package Version 3.0.1.4259-1 by radarr .NET Core Yes (3.1.10) Docker Yes DB Migration 188 AppData directory /config Startup directory /usr/lib/radarr/bin Mode Console **Trace Logs** Turn on Trace logs under Settings -> General and wait for the bug to occur again. **Upload the full log file here (or another site (e.g. pastebin) and link it). Issues will be closed, if they do not include this!** [https://pastebin.com/3sMc8KjF](https://pastebin.com/3sMc8KjF) [AB#740](https://dev.azure.com/Servarr/7ab38f4e-5a57-4d70-84f4-94dd9bc5d6df/_workitems/edit/740)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Radarr#5346
No description provided.