[FileBot Node] Dry Run prints Exit Code: 4

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
spetrillo
Posts: 67
Joined: 21 Jun 2015, 20:46

[FileBot Node] Dry Run prints Exit Code: 4

Post by spetrillo »

Attached is a dry run of processing a video file. Why am I getting the return code of 4? Is this normal?

Code: Select all

filebot -script 'fn:amc' '/volume2/Media Files/Plex/Torrents' --output '/volume2/Media Files/Plex/Transcode/Pre' --action TEST -non-strict --order Airdate --conflict auto --lang en --def 'unsorted=y' 'clean=y' 'deleteAfterExtract=y' 'minLengthMS=0' 'minFileSize=0' 'excludeList=amcexcl.txt' --apply refresh --log all --log-file '/var/packages/filebot-node/var/filebot.log'

------------------------------------------

Run script [fn:amc] at [Wed Jun 08 14:28:44 EDT 2022]
Parameter: unsorted = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: minLengthMS = 0
Parameter: minFileSize = 0
Parameter: excludeList = amcexcl.txt
Argument[0]: /volume2/Media Files/Plex/Torrents
Use excludes: /volume2/Media Files/Plex/Transcode/Pre/amcexcl.txt (0)
Ignore system path: /volume2/Media Files/Plex/Torrents/Gaslit.S01E07.1080p.WEB.H264-GGEZ[rarbg]/@eaDir
Input: /volume2/Media Files/Plex/Torrents/Gaslit.S01E07.1080p.WEB.H264-GGEZ[rarbg]/gaslit.s01e07.1080p.web.h264-ggez.mkv
Group: {Series=gaslit} => [gaslit.s01e07.1080p.web.h264-ggez.mkv]
Rename episodes using [TheTVDB] with [Airdate]
Lookup via [Gaslit]
Fetching episode data for [Gaslit]
└─ 8 episodes
[TEST] from [/volume2/Media Files/Plex/Torrents/Gaslit.S01E07.1080p.WEB.H264-GGEZ[rarbg]/gaslit.s01e07.1080p.web.h264-ggez.mkv] to [/volume2/Media Files/Plex/Transcode/Pre/TV Shows/Gaslit/Season 01/Gaslit - S01E07 - Year of the Rat.mkv]
Processed 1 file
Finished without processing any files
Abort (×_×)

------------------------------------------

[Process error]

🔺 Exit Code: 4
User avatar
rednoah
The Source
Posts: 22899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: What Am I Missing??

Post by rednoah »

Do you get "Finished without processing any files" if you're not using Dry Run as well?



EDIT:

The amc script has been updated to exit with Exit Code 100 instead of Exit Code 4 in --action TEST mode so that FileBot Node doesn't complain about the exit code anymore when you click on the Dry Run button:
https://github.com/filebot/scripts/comm ... 3422ea2b08
:idea: Please read the FAQ and How to Request Help.
Post Reply