[amc] Change how files will be organized and renamed

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Flashman
Posts: 1
Joined: 07 Jun 2017, 16:48

[amc] Change how files will be organized and renamed

Post by Flashman »

I recently updated to the Windows 10 UWP, which seems to be working, but it broke my older amc.groovy. I switched to using "-script fn:amc" but would like to modify this in the following way:

Current: Movies will be sorted into {output}/Movies/Name (Year)/Name (Year) [CD123].ext
New: Movies will be sorted into {output}/Movies/Name (Year) [CD123].ext

I dug into this (and modified the old one fine), but it's apparently beyond me.

Any help is appreciated!

Thanks!
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Modified amc.groovy script

Post by rednoah »

You can (and should) pass in custom formats via command-line options. Modifying the script is not necessary.

Please read the Change how files will be organized and renamed section:
viewtopic.php?f=4&t=215

e.g.

Code: Select all

--def movieFormat="Movies/{plex.name}"
:idea: Please read the FAQ and How to Request Help.
Post Reply