Jump to content

Editing Title of multiple movies?


Recommended Posts

Posted

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
Posted (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 by Happy2Play
Posted

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

 

Capture.thumb.JPG.d84b4ee7f0ef978447037ace1b3999b6.JPG

Happy2Play
Posted

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".

Posted

I know people will think I'm stupid for wanting to do this but...hey I'm unique.  :D  

BTW:  Happy, I have no idea how to do what you said. LOL   

Happy2Play
Posted

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

image.png.caa088d1506b569cb7977c64b9e3e34b.png

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)

  • Thanks 1
Posted

I'll give it a go. Thank you!

rbjtech
Posted

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 🤪

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...