Rename merged episodes

All about user-defined episode / movie / file name format expressions
Post Reply
namgorf2001
Posts: 7
Joined: 10 Jan 2020, 22:25

Rename merged episodes

Post by namgorf2001 »

I get lots of shows that have episode 1 and 2 in the file (common in cartoons) See image. Is there a way to have it tag episode numbers as well? It sees the names so i assume it's possible. Image
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename merged episodes

Post by rednoah »

:?: Are you using a custom format?


:idea: If you write your own custom format, then you will want to rely on the built-in bindings such as {plex.name}, {sxe}, {s00e00}, {t}, etc as much as possible. Those are multi-episode aware / special-episode aware / etc. {s} and {e} are always a single number. {es} is the list of episode numbers.


:idea: S01E02-03 is a clear multi-episode pattern and should work out-of-the-box, assuming that your custom format is capable of formatting multi-episode information into multi-episode file names:

Code: Select all

$ filebot -rename *.mp4 --db TheTVDB -non-strict --format "{plex.name}" --action TEST --log INFO
[TEST] from [Rugrats_-_S01E02-03.mp4] to [Rugrats - S01E02-E03 - Barbeque Story & Waiter, There's A Baby In My Soup.mp4]
:idea: Please read the FAQ and How to Request Help.
Post Reply