AMC Script: Error in file processing not sending email
Posted: 16 Apr 2021, 06:33
Hi, I use the filebot amc script with the and options, when the script succeeds in renaming and copying my file it does email me (and notify through pushbullet)
However, when it fails it does not send me the email.
Here is the output from one example:
As you can see, it failed for a permission error (my bad) on the target directory, I would expect this to have emailed me as the operation was `Abort`ed.
I have also noticed that sometimes (not in this case) that sometimes when there is an error the file is still added to the exclude.txt so running it manually is annoying as I need to remove the line from the file. This is a separate issue though and I will raise another topic when I have a concrete example.
Thanks
Code: Select all
reportError=y
However, when it fails it does not send me the email.
Here is the output from one example:
Code: Select all
Run script [fn:amc] at [Wed Apr 14 12:09:59 AEST 2021]
Parameter: seriesFormat = TV Shows/{n}/{n} - Season {s}/{n} - {s}{e.pad(2)} - {t}
Parameter: movieFormat = Films/{n}
Parameter: exec = /home/dav/.kodi/update-kodi.sh
Parameter: gmail = *****
Parameter: pushbullet = *****
Parameter: reportError = y
Parameter: excludeList = /etc/filebot/exclude.txt
Argument[0]: /home/dav/Downloads/Station.19.S04E09.720p.WEB.H264-GGEZ[rarbg]
Use excludes: /etc/filebot/exclude.txt (3)
Input: /home/dav/Downloads/Station.19.S04E09.720p.WEB.H264-GGEZ[rarbg]/station.19.s04e09.720p.web.h264-ggez.mkv
Group: {Series=station 19} => [station.19.s04e09.720p.web.h264-ggez.mkv]
Rename episodes using [TheTVDB] with [Airdate]
Lookup via [Station 19]
Fetching episode data for [Station 19]
[COPY] from [/home/dav/Downloads/Station.19.S04E09.720p.WEB.H264-GGEZ[rarbg]/station.19.s04e09.720p.web.h264-ggez.mkv] to [/mnt/icybox/TV Shows/Station 19/Station 19 - Season 4/Station 19 - 409 - No One Is Alone.mkv]
[COPY] from [/home/dav/Downloads/Station.19.S04E09.720p.WEB.H264-GGEZ[rarbg]/station.19.s04e09.720p.web.h264-ggez.mkv] to [/mnt/icybox/TV Shows/Station 19/Station 19 - Season 4/Station 19 - 409 - No One Is Alone.mkv] failed due to I/O error [Access Denied: /mnt/icybox/TV Sho>
Processed 0 files
Finished without processing any files
Abort (×_×)
I have also noticed that sometimes (not in this case) that sometimes when there is an error the file is still added to the exclude.txt so running it manually is annoying as I need to remove the line from the file. This is a separate issue though and I will raise another topic when I have a concrete example.
Thanks