Skip short video - revisited [resolved]

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
HansCz
Posts: 6
Joined: 27 Jan 2017, 16:00

Skip short video - revisited [resolved]

Post by HansCz »

Hey all,

The issue is this: I have a number of videos that filebot skips claiming they are too short when they do not appear to be so.

The videos do fall below the default minimum length and filesize for filebot to include it in processing, but setting minimum filesize and length to 0 ought to fix this. Except it doesn't in my case. I also ran a mediainfo and found that mediainfo correctly recognises file sizes and durations of the files.

Here's my command:
(note: '<omitted>' in the command means I have cut out this part for privacy reasons)

Code: Select all

$ /usr/local/bin/filebot -script 'fn:amc' /volume1/media/<omitted>  --output /volume1/media/ --action test -non-strict --conflict auto --lang en --def 'music=y' 'unsorted=y' 'artwork=y' 'subtitles=dan' 'clean=y' 'deleteAfterExtract=y' 'excludeList=.excludes' 'kodi=<omitted>' 'minFileSize=0' 'minLenghMS=0' --log all >>/volume1/Logs/filebot/filebot.log 2>&1
Here's my sysinfo command and its output:

Code: Select all

$ filebot -script fn:sysinfo
FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 17.12
Apache Commons VFS: [zip, rar]
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-02-04 (r514)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 427 MB Max Memory / 20 MB Used Memory
OS: Linux (amd64)
Package: SPK
uname: Linux pavarti 3.10.102 #15254 SMP Fri Jan 26 06:46:44 CST 2018 x86_64 GNU/Linux synology_braswell_716+II
Done ヾ(@⌒ー⌒@)ノ
here's part of the mediainfo output:

Code: Select all

$ filebot -mediainfo /volume1/media/<omitted> --format "{fn} | {minutes} min | {megabytes} MB"

001   Puss Gets the Boot [1940] | 8 min | 85 MB
002   The Midnight Snack [1941] | 8 min | 84 MB
003   The Night Before Christmas [1941] | 8 min | 80 MB
004   Fraidy Cat [1942] | 7 min | 76 MB
005   Dog Trouble [1942] | 7 min | 73 MB
... and yes, there are three consecutive spaces after the initial 3 digits of every file name.

Yet I still get this output (partial):
(note: '<omitted>' in the command means I have cut out this part for privacy reasons)

Code: Select all

Run script [fn:amc] at [Sat Mar 03 01:08:37 CET 2018]
Parameter: music = y
Parameter: unsorted = y
Parameter: artwork = y
Parameter: subtitles = dan
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: excludeList = .excludes
Parameter: kodi = *****
Parameter: minFileSize = 0
Parameter: minLenghMS = 0
Argument[0]: /volume1/media/<omitted>
Use excludes: /volume1/media/.excludes (4636)
Skip short video: /volume1/media/<omitted>/060   Slicked up Pup [1951].avi
Skip short video: /volume1/media/<omitted>/230   Scrub A Dub Tom [1990].avi
Skip short video: /volume1/media/<omitted>/271   Doom Manor [1991].avi
Last edited by HansCz on 03 Mar 2018, 01:42, edited 1 time in total.
HansCz
Posts: 6
Joined: 27 Jan 2017, 16:00

Re: Skip short video - revisited

Post by HansCz »

Never mind. Simple typo. Was missing the 't' in 'minLenghMS=0'. Sorry for taking up your time.
Post Reply