AMC: How To Sort According to Language

Any questions? Need some help?
Post Reply
alexkwa
Posts: 6
Joined: 25 Apr 2015, 18:21

AMC: How To Sort According to Language

Post by alexkwa »

I'm using the latest amc.groovy with the latest headless filebot.

How can I recognize the language of TV shows and sort it accordingly?

eg.
English shows go to /Volumes/Media/TV Shows/English/{n}/Season {s}/{n} {S00E00} {t}
Japanese shows go to /Volumes/Media/TV Shows/Japanese/{n}/{(s) ? {s}/ : {n} - {e} - {t}} // Note the different format

.etc

Here's my exact script:
/Users/alexkwa/Desktop/filebot/filebot.sh -script "/Users/alexkwa/Desktop/amc.groovy" --output "/Volumes/Media" -non-strict "/Volumes/MEDIA/5Assassination Classroom S01E14 Vision Time.mkv" --conflict auto --def unsorted=y excludeList=amc-input.txt clean=y "movieFormat=/Movies/English/{n}" "seriesFormat=/Volumes/Media/TV Shows/English/{n}/Season {s}/{n} {S00E00} {t}" "animeFormat=/Volumes/Media/Anime/{n}/{(s) ? {s}/ : {n} - {e}}"
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC: How To Sort According to Language

Post by rednoah »

Use the GUI Format Editor to prototype your format. Click (x)= to see all available variables and see if any of them allow you differentiate Japanese from English TV Shows.
:idea: Please read the FAQ and How to Request Help.
Post Reply