Plex Naming Conventions to exclude files

All about user-defined episode / movie / file name format expressions
Post Reply
Latinkidmj
Posts: 10
Joined: 20 Jul 2016, 20:55

Plex Naming Conventions to exclude files

Post by Latinkidmj »

Hello.
I'm currently using {plex}{n}{s00e00} which organizes my TV shows beautifully with the following exceptions:
1. I'd rather it just put ALL the movie files together without separating into folders by Season (but this isn't really a big deal)
2. I'd like to delete all non .mkv files (e.g. .png, .txt, .srt, and other file types) when it renames and moves everything

Is there a way to do this through expressions?
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex Naming Conventions to exclude files

Post by rednoah »

1.
{plex} will give you the Plex standard structure so you can't use that as is.

You can do your own thing:

Code: Select all

{n}/{n} - {s00e00} - {t}

2.
FileBot doesn't process clutter files so they will be left behind anyway. However, if a clutter file has the same name as a video file, then they will be processed together as a single unit:

Code: Select all

Movie.mp4
Movie.eng.srt
Movie.cover.png
The easiest solution is just dropping in the video files and not the whole folder:

Option 1: Use Presets and use file.isVideo() as Include filter
Option 2: Use Filter panel to select all video files
Option 3: Use Explorer/Finder and search for *.mp4 to select all *.mp4 files
:idea: Please read the FAQ and How to Request Help.
Latinkidmj
Posts: 10
Joined: 20 Jul 2016, 20:55

Re: Plex Naming Conventions to exclude files

Post by Latinkidmj »

I"ve found using the first expression works perfectly!! All the .mkv files are renamed and look great, but for some reason, the folder itself where they're held remains stubbornly unchanged with the original name. Is there something one can add to the expression "{n}/{n} - {s00e00} - {t}" to make the original source folder change names along WITH their movie files content?
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex Naming Conventions to exclude files

Post by rednoah »

I don't know what you are doing, but you probably want to be doing something like this:

Code: Select all

X:/Movies/{n}/{n} - {s00e00} - {t}
Please read this post: viewtopic.php?f=10&t=3973&p=22305#p22305
:idea: Please read the FAQ and How to Request Help.
Post Reply