Sorting the library Titles

Server Version#: 4.159.0
Player Version#:

I have been trying to clean up my Plex Titles, at the moment the Sort Title drops words like “A” and “The” from the title so it puts the video in the wrong order, in my opinion.

Also some Plex Display Titles have extra characters in like “A.Merry.Christmas” and I have been looking at cleaning that up to be displayed as “A Merry Christmas”

I have looking to do this using scripts to access the SQLLite database with the scripts in the link below

Public

I would like any help that will achieve this goal.

Thank You

You can configure if/which prefixes of a title should be removed. This is usually done to avoid having 60% of your movies grouped under A and T because they use an article.

See ArticleStrings in the related support article.
https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/

The „extra characters“ are probably based on embedded metadata in those files. You can configure Plex to ignore those in the library preferences (especially if you’re using some dubious sources that add garbage to those embedded information).

Thanks tom80H, I have plex set to ignore local metadata but it is still display the extra characters in the title.

The dubious sources are internet archives as a lot of the videos are from old TV shows that only came out on VHS :slight_smile:

How exactly did you do that?
What type of library and agent are we talking about (from the preferences of this particular library)?

I used the library options on the Plex Server settings and I altered the Preferences.xml to stop it from storing the Titles without the leading characters

Let’s take a look at the preferences of the individual library:
… > Manage Library > Edit… → Advanced

What agent is set for this library?
Prefer Local Metadata unchecked?
Are the items in question matched?

It is sorted and working, thanks

Admin/Mod can remove this post. Cheers