King Pin 34 Posted December 31, 2022 Posted December 31, 2022 Is there a way to quickly remove a word in the title of multiple movies like maybe using Notepad++? I'd like to remove the word "The" anytime it appears as the first word in the title.
Happy2Play 9783 Posted December 31, 2022 Posted December 31, 2022 (edited) Can you elaborate on your reason? Emby already does this by default for SortName. <SortRemoveWords> <string>the</string> <string>a</string> <string>an</string> </SortRemoveWords> Edited December 31, 2022 by Happy2Play
King Pin 34 Posted December 31, 2022 Author Posted December 31, 2022 I do everything on my desktop. I'm always going through my library updating images, quickly scanning to find a movie to see if I need to upgrade it to a newer format etc. It makes easier when quickly scanning. Right now Emby isn't doing it for a lot of movies screenshot attached. I
Happy2Play 9783 Posted December 31, 2022 Posted December 31, 2022 True it is Sorting them correctly as they appear in H instead of T. So you want to remove "The" from Emby display title? Don't know regex but if you write nfo files I guess you could change the "Title" node and Emby would display them without "The".
King Pin 34 Posted January 1, 2023 Author Posted January 1, 2023 I know people will think I'm stupid for wanting to do this but...hey I'm unique. BTW: Happy, I have no idea how to do what you said. LOL
Happy2Play 9783 Posted January 1, 2023 Posted January 1, 2023 I guess a dirty way would be use notepad++ and do a find in files Find: <title>The (Ensuring you have the trailing space) Replace with: <title> Filters: *.nfo Directory: library path But would test on single item or create a test library with a couple item. This is something you have to do whenever adding a new item with "The" in title. Or if a coding guru can provide a script to copy <sorttitle> to <title> (but confict if you have custom sorttitles) 1
rbjtech 5284 Posted January 1, 2023 Posted January 1, 2023 This may also impact the ability for emby to identify the item on a metadata refresh (but I would hope the providers have logic to capture this) - so I would be very cautious on doing this. The Sort Title is there for this exact reason - it will usually just put the 'the' after the title. ie 'Highwaymen, The' I used to do this myself many years back, but then reverted back to the main title due to Identify issues - you have been warned 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now