Movie Collection Subfolder Support // mod: create collections based on folder structure

So, there’s a kinda workaround that you can do to make them not disappear. I use it for a different purpose, but I think it might work for yours. Get a short Placeholder Video & name it S01E00 or S00E100 or S99E00. If you have Plex delete files after they are watched I’d suggest making the file Read-Only but I don’t use the auto-delete so I’m not exactly sure how that will work. I do this specifically to hold the artwork for things I don’t have yet, so it will preserve the Metadata. Particularly things like making a poster to match the ones I have for a new season. The show hasn’t aired yet, but I have the artwork & I want to see how it looks. Usually I’ll keep it there until an episode is recorded, but oftentimes I never delete it.

Earlier this year we got a new helper file that this fits with perfectly. The .plexmatch file allows you to give “Match Hints” as Plex calls them to the Scanner/Agent. Plex says “Warning: This is an advanced feature and is not intended for general users.” but so far it is not very advanced & doesn’t do very much at all.
Right now this is mostly for things like when a show has a tricky name. I had an issue in the past with the show 3x3 Eyes because Plex recognizes 3x3 as “Season 3 Episode 3” so the files 3x3 Eyes S01E01 & 3x3 Eyes S01E02 & 3x3 Eyes S02E04 would be recognized as different version of S03E03.

But I think this .plexmatch has a lot of potential. I have a feature suggestion for Custom Episode Ordering using the .plexmatch which would be for things like if you want the Seasons split differently, or if you have a show that has a movie after it & you want the movie as a season. An example would be Firefly, I have the movie Serenity as S02E02 so I can have the Movie Poster as the season Poster so it looks nice. But I had to put in the Information manually & it’s not recognized as a matched episode.

But the file you are talking about exists now. It just doesn’t do what you want it to… Yet.

It would be easy to have it

  • .plexmatch
# Movie Collections 
# TheMovieDB ID Matching & to show folder structure
TMDBid: 671: /Wizard/Hogwarts/Harry Potter & the Philosopher's Stone (2001)/
TMDBid: 672: /Wizard/Hogwarts/Harry Potter & the Chamber of Secrets (2002)/
TMDBid: 673: /Wizard/Hogwarts/Harry Potter & the Prisoner of Azkaban (2004)/
TMDBid: 674: /Wizard/Hogwarts/Harry Potter & the Goblet of Fire (2005)/
TMDBid: 675: /Wizard/Hogwarts/Harry Potter & the Order of the Phoenix (2007)/
TMDBid: 767: /Wizards/Hogwarts/Harry Potter & the Half-Blood Prince (2009)/
TMDBid: 12444: /Wizard/Hogwarts/Harry Potter & the Deathly Hallows Part 1 (2010)/
TMDBid: 12445: /Wizard/Hogwarts/Harry Potter & the Deathly Hallows Part 2 (2011)/
TMDBid: 259316: /Wizard/Ilvermorny/Fantastic Beasts & Where to Find Them (2016)/
TMDBid: 338952: /Wizard/Ilvermorny/Fantastic Beasts The Crimes of Grindelwald (2018)/
# Proposed Collection Tag
collect: Wizarding World: /Wizard/.
collect: Hogwarts: /Wizard/Hogwarts/.
collect: Fantastic Beasts: /Wizard/Ilvermorny/.
  • In This example you’d have all of your Harry Potter movies in the folder D:\Movies\Wizard\ with all the Hogwarts movies in the folder D:\Movies\Wizard\Hogwarts\ & all the Fantastic Beasts movies in the folder D:\Movies\Wizard\Ilvermorny\
  • The .plexmatch file would be in the D:\Movies\Wizard\ folder
  • All the movies in the folder D:\Movies\Wizard\ would go into a Collection called Wizarding World
  • All the movies in the folder D:\Movies\Wizard\Hogwarts\ would go into a Collection called Hogwarts
  • All the movies in the folder D:\Movies\Wizard\Ilvermorny\ would go into a Collection called Fantastic Beasts
1 Like