Skip small video file Issue

Support for Ubuntu and other Desktop Linux distributions
Post Reply
2devnull
Posts: 26
Joined: 09 Feb 2016, 02:07

Skip small video file Issue

Post by 2devnull »

The file MyShow.S02E02.720p.HDTV.x264.mkv is 865MB and 45 min long show, therefore I am not sure why this would happen.

Code: Select all

root@2962fad6dbb3:/config# Locking /base/Scripts/filebot-mirror-amc.log
Run script [fn:amc] at [Sun Jan 22 17:50:30 UTC 2017]
Parameter: excludeList = /base/Scripts/filebot-mirror-amc.txt
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_dir = /cloudrive/MyShow.S02E02.720p.HDTV.x264.mkv
Parameter: ut_kind = multi
Parameter: ut_title = MyShow.S02E02.720p.HDTV.x264.mkv
Parameter: ut_label = MIRROR
Use excludes: /base/Scripts/filebot-mirror-amc.txt (1828)
Skip small video file: /cloudrive/MyShow.S02E02.720p.HDTV.x264.mkv
No files selected for processing
Done ヾ(@⌒ー⌒@)ノ

Code: Select all

root@2962fad6dbb3:/config# filebot -clear-cache && filebot -script fn:sysinfo
Clear cache
* Delete /opt/filebot/data/root/cache/0
FileBot 4.7.7 (r4720)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path ([file:/opt/filebot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
GVFS: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.8
JRE: Java(TM) SE Runtime Environment 1.8.0_112
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 2 GB Max Memory / 23 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
Data: /opt/filebot/data/root
uname: Linux 2962fad6dbb3 4.4.24-rancher #1 SMP Fri Nov 11 03:20:22 UTC 2016 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Skip small video file Issue

Post by rednoah »

Check your /cloudrive folder. Does it erroneously report files as 0 bytes?

Try this:

Code: Select all

filebot -mediainfo /cloudrive --format "{fn} => {bytes}"

--def minFileSize=0 should allow you to work around filesystem issues like this.
:idea: Please read the FAQ and How to Request Help.
2devnull
Posts: 26
Joined: 09 Feb 2016, 02:07

Re: Skip small video file Issue

Post by 2devnull »

Here is the info doing an ls -lh /clouddrive:

Code: Select all

root@2962fad6dbb3:/opt/filebot# ls -lh /clouddrive/
-rw-r--r-- 1 1100 1100 966M Jan 22 16:17 MyShow.S02E02.720p.HDTV.x264.mkv

Code: Select all

root@2962fad6dbb3:/opt/filebot# filebot -mediainfo /clouddrive --format "{fn} => {bytes}"                                      
MyShow.S02E02.720p.HDTV.x264 => 1012275713

2devnull
Posts: 26
Joined: 09 Feb 2016, 02:07

Re: Skip small video file Issue

Post by 2devnull »

Sorry, I think you made me realize the clouddrive should have two 'd' in it. Let me check. This may be a false alarm.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Skip small video file Issue

Post by rednoah »

If you pass in invalid file paths via the ut_dir/ut_file parameters then these non-existing files will probably have a reported file size of -1 and ignored.
:idea: Please read the FAQ and How to Request Help.
Post Reply