Docker skipping all files

Support for Ubuntu and other Desktop Linux distributions
Post Reply
souljacker
Posts: 8
Joined: 27 Mar 2017, 13:00

Docker skipping all files

Post by souljacker »

I want to use the docker image (rednoah/filebot) but I'm having issues getting it to process my files. Note I'm using that image as a base image to do some other processing first. One of the things I do is create a new user and switch to that user so I need to run filebot with sudo. I don't think that will impact this, but just in case best to let you know..

My command looks as follows:
filebot -script fn:amc --output "/var/data/videos/" --log-file /home/fxleblanc/filebot/filebot.log --action copy "/var/data/completedwnloads" --def excludeList=/home/fxleblanc/filebot/adults.txt --conflict auto -non-strict --def music=n --def pushbullet=TOKEN --def clean=y --def unsorted=y --def "seriesFormat=/var/data/videos/TV/{n}/{'Season '+s}\{n} - {s00e00} - {t}" "movieFormat=/var/data/videos/Films/{n} ({y})/{n}{'.pt'+pi}" "musicFormat=/var/data/music/{n}/{fn}" --def minLengthMS=0
but this always causes `skip small video file`
locking /home/fxleblanc/filebot/filebot.log
Run script [fn:amc] at [Mon Mar 27 12:53:26 UTC 2017]
Parameter: excludeList = /home/fxleblanc/filebot/adults.txt
Parameter: music = n
Parameter: pushbullet = *****
Parameter: clean = y
Parameter: unsorted = y
Parameter: seriesFormat = /var/data/videos/TV/{n}/{'Season '+s}\{n} - {s00e00} - {t}
Parameter: movieFormat = /var/data/videos/Films/{n} ({y})/{n}{'.pt'+pi}
Parameter: musicFormat = /var/data/music/{n}/{fn}
Parameter: minLengthMS = 0
Argument[0]: /var/data/completedDownloads
Use excludes: /home/fxleblanc/filebot/adults.txt (5338)
Read archive [homeland.s06e10.720p.hdtv.x264-fleet.rar] and extract to [/var/data/completedDownloads/Adults/Homeland.S06E10.720p.HDTV.x264-FLEET/homeland.s06e10.720p.hdtv.x264-fleet/Homeland.S06E10.720p.HDTV.x264-FLEET]
Extracting files [/var/data/completedDownloads/Adults/Homeland.S06E10.720p.HDTV.x264-FLEET/homeland.s06e10.720p.hdtv.x264-fleet/Homeland.S06E10.720p.HDTV.x264-FLEET/Homeland.S06E10.720p.HDTV.x264-FLEET.mkv]
Read archive [homeland.s06e10.proper.720p.hdtv.x264-avs.rar] and extract to [/var/data/completedDownloads/Adults/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/homeland.s06e10.proper.720p.hdtv.x264-avs/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS]
Extracting files [/var/data/completedDownloads/Adults/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/homeland.s06e10.proper.720p.hdtv.x264-avs/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS.mkv]
Skip small video file: /var/data/completedDownloads/Adults/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/homeland.s06e10.proper.720p.hdtv.x264-avs/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS.mkv

I'm trying to capture the size of file: `/var/data/completedDownloads/Adults/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/homeland.s06e10.proper.720p.hdtv.x264-avs/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS.mkv` but I suspect it's deleted after running the script as that is always not found.

If I switch out minLengthMS for minFileSize I don't get the same error... but it just does nothing
{SNIP}
Parameter: minFileSize = 0
Argument[0]: /var/data/completedDownloads
Use excludes: /home/fxleblanc/filebot/adults.txt (5338)
Read archive [homeland.s06e10.720p.hdtv.x264-fleet.rar] and extract to [/var/data/completedDownloads/Adults/Homeland.S06E10.720p.HDTV.x264-FLEET/homeland.s06e10.720p.hdtv.x264-fleet/Homeland.S06E10.720p.HDTV.x264-FLEET]
Extracting files [/var/data/completedDownloads/Adults/Homeland.S06E10.720p.HDTV.x264-FLEET/homeland.s06e10.720p.hdtv.x264-fleet/Homeland.S06E10.720p.HDTV.x264-FLEET/Homeland.S06E10.720p.HDTV.x264-FLEET.mkv]
Read archive [homeland.s06e10.proper.720p.hdtv.x264-avs.rar] and extract to [/var/data/completedDownloads/Adults/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/homeland.s06e10.proper.720p.hdtv.x264-avs/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS]
Extracting files [/var/data/completedDownloads/Adults/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/homeland.s06e10.proper.720p.hdtv.x264-avs/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS.mkv]
Read archive [into.the.badlands.s02e02.720p.hdtv.x264-avs.rar] and extract to [/var/data/completedDownloads/Adults/Into.the.Badlands.S02E02.720p.HDTV.x264-AVS/into.the.badlands.s02e02.720p.hdtv.x264-avs/Into.the.Badlands.S02E02.720p.HDTV.x264-AVS]
This gives no error, instead skipping to the next file.

For completeness the volumes mounted in docker are mounted to a windows file share, but I have full right permission to all of them (and I have tested that - in fact this volume copied the files that are being extracted into there).


This is my sysinfo:
sudo filebot -script fn:sysinfo
FileBot 4.7.8 (r4846)
JNA Native: 5.1.0
MediaInfo: 0.7.92.1
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-03-24 (r490)
Groovy: 2.4.8
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 2 Core / 965 MB Max Memory / 16 MB Used Memory
OS: Linux (amd64)
Package: DEB
Data: /root/.filebot
uname: Linux 0555aecfdbc6 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Docker skipping all files

Post by rednoah »

Is the video file shorter than 10 minutes?

Check with -mediainfo:

Code: Select all

filebot -mediainfo -r /path/to/file/that/was/skipped
:idea: If you set --def minFileSize=0 then you definitely won't get the Skip small video file error message. Same applies to --def minLengthMS=0 and Skip short video file.
:idea: Please read the FAQ and How to Request Help.
souljacker
Posts: 8
Joined: 27 Mar 2017, 13:00

Re: Docker skipping all files

Post by souljacker »

filebot -mediainfo -r /var/data/completedDownloads/Adults/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/homeland.s06e10.proper.720p.hdtv.x264-avs/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS/Homeland.S06E10.PROPER.720p.HDTV.x264-AVS.mkv

Just says java.nio.file.NoSuchFileException. This is after the script above has run - does it clear it up if it's skips it?

I take it I can't run that against the rar?

p.s. thanks for the really fast response!
souljacker
Posts: 8
Joined: 27 Mar 2017, 13:00

Re: Docker skipping all files

Post by souljacker »

EDIT ignore this for now... I think I know what might be causing it - sorry. I'll update when I know for sure.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Docker skipping all files

Post by rednoah »

1.
Does that file exist?

2.
In the previous log you got Skip small video file which means that the given file is smaller than 50 MB (by default).


:?: Why are you using Docker on Windows? Is that a thing now? :lol:
:idea: Please read the FAQ and How to Request Help.
souljacker
Posts: 8
Joined: 27 Mar 2017, 13:00

Re: Docker skipping all files

Post by souljacker »

1) No... I had a cron job that was running every minute to sync files from a remote server with the --delete option... I'm an idiot.

2) see 1 :)

Why am I using docker on windows... I'm an idiot. See 1).

Anyway, it's now extracting files just fine... going to see if it does the amc bit after. I thought it extracted a file, then did AMC processing, then moved to the next one, but currently it's just extracting each file first so hopefully it will do the moving/matching at the end :)
souljacker
Posts: 8
Joined: 27 Mar 2017, 13:00

Re: Docker skipping all files

Post by souljacker »

Yup, all working a treat. Sorry for wasting your time, and thanks for such an amazing app.
Post Reply