Automatically add movies with a certain word in the file name to a collection?

Is there a way – plugin or otherwise – to get Plex to automatically add movies with a certain word in the file name to a user-specified collection? In my case, I want all movies with “commentary” in the file name to be added to my “commentary tracks” collection. As it stands now, I’m having to do this manually every time I add movies, but it’s time-consuming and I’m sure I’ll miss some eventually. I see in the documentation it’s possible for Plex to auto-add movies to collections, but I don’t see any instructions for how to set criteria for that. Am I missing something?

Server Version#: 1.20.1.3252
Player Version#: 4.30.2 (I think… not quite sure I am looking in the right place for this information)

This is not possible.
The only way in Plex to automatically add a file into a collection is, to have both below conditions fulfilled:

  1. the file uses the MP4 / M4V container format
  2. the file has an embedded meta tag ‘Album’ which is populated with the desired collection name

Well, if the file name or path is available via the metadata or the media python object (which I do not know) then it would be very easy to code - and I’d be willing to do it.

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