Is the titleSort property exposed anywhere for metadata agents to update?

I have a metadata agent that updates the Movie metadata fields, but would also like to update the titleSort property, which is not exposed in the media.py Plex common file (so, not identified as part of any metadata structures).  Is the titleSort property exposed anywhere for metadata agents to update?

 

Doing a search of the forum here, I came across a post and discussion from February 2011 asking a similar question (https://forums.plex.tv/topic/16293-nfo-agent/page-16#entry148470), but have not been able to find a resolution or information that it has been implemented...

 

Is there any other way to update this field without having to do it manually?

 

thanks!

I have same problem. Any idea how to solve it?


Can someone from plex team add this item into API metadata fields?

It's actually referenced in the built-in LocalMedia.bundle.  Specifically, line 60 of LocalMedia.bundle\Contents\Code\videohelpers.py references the property as "title_sort".

I've tried doing the same in my own metadata plugin and it doesn't error like it would if you try to reference a property that doesn't exist.  It even shows up in the resulting Info.xml cache file that gets saved for each piece of media.  But none of the Plex UIs seem to acknowledge it.

It's highly frustrating and seems like a bug....or perhaps a feature of the API that never quite got finished.

I ended to working around this issue by having my agent modify the Title property to have the info that I wanted (prefixed the name with date information, and then can sort by Title), so avoided the need to use the TitleSort property.  The Title property is not used explicitly to open the file, so doesn't have to match the filename.  However, it's not the best solution, but worked for me...

Would still be great if this was fixed at some point...

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.