Separate Anime Movies and Normal Movies into different folders

All about user-defined episode / movie / file name format expressions
Post Reply
Ruffy
Posts: 7
Joined: 02 May 2020, 16:37

Separate Anime Movies and Normal Movies into different folders

Post by Ruffy »

Hey Rednoah some question,

is there a way to seperate the files in two categories for Anime ?
I use it on an synology nas and know that i can move my movies to the movies folder, series to the series folder but i have 2 categories for anime (anime movies and anime series). is there a way to archive this ?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Q&A for n00bs

Post by rednoah »

Ruffy wrote: 02 May 2020, 16:41 I use it on an synology nas and know that i can move my movies to the movies folder, series to the series folder but i have 2 categories for anime (anime movies and anime series). is there a way to archive this ?
There are many ways, since your custom movie format allows you to decide how to handle different movies in different ways. But there's not one recommended way. Identifying which movie or file is or is not an Anime movie now that is a somewhat subjective question, and different people will give different answers.


A good enough solution might be as easy as this:

Code: Select all

{audioLanguages =~ /jpn/ ? 'Anime Movies' : 'Movies'}
or this:

Code: Select all

{info.productionCountries =~ /JP/ ? 'Anime Movies' : 'Movies'}
:idea: Please read the FAQ and How to Request Help.
Ruffy
Posts: 7
Joined: 02 May 2020, 16:37

Re: Q&A for n00bs

Post by Ruffy »

my Output folder is defined through the Custom Formats Tab (or am i wrong?), but there is only one for Anime. Maybe when i define the input folder can it work that way ?

Input Structure:
  • Download (Parent Folder):
    Movies
    Series
    Anime Movies
    Anime Series
and then it takes it and moves it in the destination i want, could this work ?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Separate Anime Movies and Normal Movies into different folders

Post by rednoah »

Anime Movies are Movies. Anime Episodes are Episodes. As such, your movie format and series format need to deal with anime respectively, and include special logic to separate anime movies / episodes from normal movies / episodes.


EDIT:

Since you already have Anime folders in your current input folder structure, you can just reuse that for the output folder structure:

Code: Select all

f =~ /Anime/ ? 'Anime Movies' : 'Movies'
:idea: Please read the FAQ and How to Request Help.
Post Reply