[Anime] Split episodes into Year / Season folders (e.g. 2022/Autumn)

All about user-defined episode / movie / file name format expressions
Post Reply
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[Anime] Split episodes into Year / Season folders (e.g. 2022/Autumn)

Post by rednoah »

We can move / rename files into different folders based on the {d} episode airdate binding.


e.g. move / rename files into Winter / Spring / Summer / Autumn folders:

Format: Select all

{ d.year }/
{
	switch (d.month) {
		case 1..3: return 'Winter'
		case 4..6: return 'Spring'
		case 7..9: return 'Summer'
		case 10..12: return 'Autumn'
	}
}/{ plex.name }

Code: Select all

2022/Autumn/Chainsaw Man - 01 - Dog & Chainsaw


:idea: If you are using AniDB, then the {startdate} series start date can be used instead of the {d} episode airdate because AniDB creates a new series for every season.
:idea: Please read the FAQ and How to Request Help.
User avatar
Yoange
Posts: 3
Joined: 11 Jun 2022, 22:17

Re: [Anime] Split episodes into Year / Season folders (e.g. 2022/Autumn)

Post by Yoange »

Thanks, this is perfect
Post Reply