Specific genre sorting for movies with AMC

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
bane336
Posts: 2
Joined: 28 Feb 2014, 04:00

Specific genre sorting for movies with AMC

Post by bane336 »

I have AMC already setup and for tv shows it is working like a champ. The one thing that I am trying to do is the only thing I am really stuck on. I am trying to have it rename and move movies into 6 different genre folders based on what the movie is. The folders are Action, Animated, Comedy, Drama, Fantasy and Horror based on the genre tags for the movie. If it has multiple then to select the genre for one of the previous 6. Let me know if you need any more information or to make it clearer.
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Specific genre sorting for movies with AMC

Post by rednoah »

That's all in the format. You can prototype that in the GUI Format Editor and once it's working as you'd like you can specify your custom format when calling filebot/amc
:idea: Please read the FAQ and How to Request Help.
bane336
Posts: 2
Joined: 28 Feb 2014, 04:00

Re: Specific genre sorting for movies with AMC

Post by bane336 »

I have been trying to do a prototype in the GUI but have not been able to have it just select one of the 6 without giving all of the ones listed for the movie. {genres}/{n} ({y}) is what I have currently but like I said it just lists all of them. Is there a way from there to have to select one of the 6 above only. Then once it does move it to the specific genre folder after renaming it.
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Specific genre sorting for movies with AMC

Post by rednoah »

Yes?

Code: Select all

{genres[0]}
:idea: Please read the FAQ and How to Request Help.
sbarnea
Posts: 16
Joined: 04 May 2014, 21:06

Re: Specific genre sorting for movies with AMC

Post by sbarnea »

Could you please give a hint on how to put a placeholder for missing genre, I don't want to end-up with all uncategorised stuff in the root directory with movies.

"/{genres[0]}/" would put movies without a genre into the root, but I would like to put them into a directory named, lets say "-no-genre-". Later I can observe them and go to http://www.themoviedb.org/ and fix the problem, and to a rescan.

I am sure that's an easy solution, if you know groovy ;)
Thanks
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Specific genre sorting for movies with AMC

Post by rednoah »

Code: Select all

{any{genre}{'No Genre'}}
:idea: Please read the FAQ and How to Request Help.
Post Reply