[AMC] Console output with email and root folder changes

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Randolf
Posts: 2
Joined: 05 May 2017, 12:10

[AMC] Console output with email and root folder changes

Post by Randolf »

Hi,
after all, thanks for this awesome tool... I´m automating a new seedbox and it´s superb!!

Now, two questions about the AMC script...
  1. it´s possible to attach the complete console output to the email report?? I tried --def reportError=y but nothing is attached in the email...
  2. It´s possible to change the output root folder for each type without specifying all the format?? I like the default format for each option, but my root folder it´s called Peliculas (Movies in Spanish), and the only option to change this it´s specifyng the whole format...
Thanks so much!!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [AMC] Console output with email and root folder changes

Post by rednoah »

1.
No, but you can use the mail command for that:
https://superuser.com/a/1020803/349721

That'll allow you to send email reports even if FileBot isn't called at all.


2.
What's your format? The default format for each category of media is simply {plex}. You can use properties such as {plex.tail} if you want to use bits and pieces of the predefined bindings:
viewtopic.php?f=5&t=4116
:idea: Please read the FAQ and How to Request Help.
Randolf
Posts: 2
Joined: 05 May 2017, 12:10

Re: [AMC] Console output with email and root folder changes

Post by Randolf »

Thank you rednoah, you solved my issues...

1.- Not so elegant as using the parameters, but works perfect.
2.- --def movieFormat="Peliculas/{plex.tail}" --def seriesFormat="Series/{plex[1]}/{plex[3]}" did the trick...

Thanks again!
Post Reply