I've successfully set up AMC for rTorrent and used your script for 2-3 years now with a slight modification. I wanted my media to be renamed to Hungarian so I added a <.lang: 'hu'> parameter to the rename statments in amc.groovy (line numbers are 418, 440, 462, 489).
Code: Select all
def dest = group.tvs ? rename(file: files, format: seriesFormat, db: 'TheTVDB', lang:'hu') : rename(file: files, format: animeFormat, db: 'AniDB', lang:'hu')
Code: Select all
def dest = rename(file: files, format: movieFormat, db: 'TheMovieDB', lang:'hu')
I request a command line parameter for the amc script like:
Code: Select all
--def lang:XX (XX stands for code locale)
Thank you,
Zsolt.