Match Multi-Episodes by Episode Title

All about user-defined episode / movie / file name format expressions
Post Reply
jmcree
Posts: 2
Joined: 28 Jul 2017, 02:49

Match Multi-Episodes by Episode Title

Post by jmcree »

I feel like this had probably been covered before but a search did not reveal anything to me and i looked through threads going back to 2015.

I would like to take:

Code: Select all

The Berenstain Bears - Bears For All Seasons _ Grow It
to:

Code: Select all

The Berenstain Bears - S04E17-E18 - Bears For All Seasons, Grow It
or something similar. Currently my version of fileBot tries to return it as just:

Code: Select all

The Berenstain Bears - S04E17 - Bears For All Seasons
This is common with alot of cartoons/kids shows and theTVdb so I feel like I am missing something simple.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Match Multi-Episodes by Episode Title

Post by rednoah »

1.
Multi-Episode auto-detection based on episode titles is not supported. You're not missing anything, it just doesn't work.


2.
There's format hacks though, to preprocess the files.

Step 1: Format Hack:

Code: Select all

{episodelist.findAll{ fn =~ it.title }.join(' & ')}
READ: find all episodes where the episode title is contained in the filename

Step 2: Process files normally, now that FileBot can actually interpret the files as multi-episode files:

Code: Select all

{plex.name}

e.g.

Code: Select all

$ filebot -rename *.mp4 -non-strict --log info --format "{episodelist.findAll{ fn =~ it.title }.join(' & ')}"
[MOVE] from [The Berenstain Bears - Bears For All Seasons _ Grow It.mp4] to [The Berenstain Bears - 4x17 - Bears For All Seasons & The Berenstain Bears - 4x18 - Grow It.mp4]

Code: Select all

$ filebot -rename *.mp4 -non-strict --log info --format "{plex.name}"
[MOVE] from [The Berenstain Bears - 4x17 - Bears For All Seasons & The Berenstain Bears - 4x18 - Grow It.mp4] to [The Berenstain Bears - S04E17-E18 - Bears For All Seasons & Grow It.mp4]

PS: I didn't even know FileBot could do that, until today. :shock: :lol: :ugeek:
:idea: Please read the FAQ and How to Request Help.
jmcree
Posts: 2
Joined: 28 Jul 2017, 02:49

Re: Match Multi-Episodes by Episode Title

Post by jmcree »

Thanks man! I'll have to give this a shot tonight.
Post Reply