Skip short video but minFileSize = 0

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
plittlefield
Posts: 74
Joined: 09 Mar 2014, 19:15

Skip short video but minFileSize = 0

Post by plittlefield » 07 Feb 2019, 10:55

Files which are clearly not 0 bytes are being skipped.

Here are a few of the files, all about 50Mb...

Code: Select all

44M 2019-02-02 11:55 Ben And Holly's Little Kingdom - S02E01 - Giants in the Meadow.mp4
65M 2019-02-02 11:54 Ben And Holly's Little Kingdom - S02E02 - Mrs Fig's Magic School.mp4
52M 2019-02-02 11:59 Ben And Holly's Little Kingdom - S02E03 - Daisy & Poppy's Playgroup.mp4
25M 2019-02-02 11:52 Ben And Holly's Little Kingdom - S02E04 - No Magic Day.mp4
...and here is the log output...

Code: Select all

Run script [fn:amc] at [Thu Feb 07 08:40:46 GMT 2019]
Parameter: minFileSize = 0
Parameter: seriesFormat = TV/{n}/{n} {s00e00}
Parameter: movieFormat = Movies/{n} ({y})
Parameter: clean = y
Parameter: ut_dir = /videos/completed/Ben And Holly's Little Kingdom Season 2 (52 Episodes)
Parameter: ut_kind = multi
Parameter: ut_title = Ben And Holly's Little Kingdom Season 2 (52 Episodes)
Skip short video: /videos/completed/Ben And Holly's Little Kingdom Season 2 (52 Episodes)/Ben And Holly's Little Kingdom - S02E01 - Giants in the Meadow.mp4
Skip short video: /videos/completed/Ben And Holly's Little Kingdom Season 2 (52 Episodes)/Ben And Holly's Little Kingdom - S02E02 - Mrs Fig's Magic School.mp4
Skip short video: /videos/completed/Ben And Holly's Little Kingdom Season 2 (52 Episodes)/Ben And Holly's Little Kingdom - S02E03 - Daisy & Poppy's Playgroup.mp4
Skip short video: /videos/completed/Ben And Holly's Little Kingdom Season 2 (52 Episodes)/Ben And Holly's Little Kingdom - S02E04 - No Magic Day.mp4
Any ideas?

Thanks,

Paully

Code: Select all

FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: 18.05
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-02-01 (r543)
Groovy: 2.5.1
JRE: OpenJDK Runtime Environment 1.8.0_191
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 18 MB Used Memory
OS: Linux (amd64)
HW: Linux nas 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Package: TAR
License: FileBot License xxxxxxxx (Valid-Until: 2019-07-23)

User avatar
rednoah
The Source
Posts: 15502
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Skip short video but minFileSize = 0

Post by rednoah » 07 Feb 2019, 12:02

You'll want to set --def minLengthMS=0 as well, if you want to disable both file size and video length sanity checks:

Code: Select all

--def minFileSize=0 minLengthMS=0
:idea: Please read the FAQ and How to Request Help.

plittlefield
Posts: 74
Joined: 09 Mar 2014, 19:15

Re: Skip short video but minFileSize = 0

Post by plittlefield » 07 Feb 2019, 12:23

Ha!

know I'm too old to be watching children's cartoons but the phrase "sanity check" made me smile ;-)

Thanks for the fix.
FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: 18.05
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-09-28 (r535)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 10.0.2
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 64 MB Used Memory
OS: Linux (amd64)
HW: Linux nas 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Package: DEB

User avatar
rednoah
The Source
Posts: 15502
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Skip short video but minFileSize = 0

Post by rednoah » 07 Feb 2019, 12:32

Well, I guess it's us adults who barely have time to watch stuff that is > 10 minutes in length. :lol:
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests