I have an existing movie on my system that is a lower resolution than the new movie, yet filebot keeps telling me that it is skipping the file because it already exists. Neither file is named using Proper/Repack which I understand overrides quality, so I am not sure what I am missing. I have mediainfo installed and working correctly.
fn:sysinfo
Code: Select all
root@bender:~/filebot# filebot -script fn:sysinfo
FileBot 4.7.7 (r4678)
JNA Native: 4.0.1
MediaInfo: 0.7.88
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
java.lang.IllegalArgumentException: /run/user/0/gvfs is not a valid directory
GVFS: OK
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 24 Core / 5 GB Max Memory / 22 MB Used Memory
OS: Linux (amd64)
Package: DEB
Data: /root/.filebot
uname: Linux bender 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
#!/bin/bash
DIR_TO_CHECK="/mount/media/pre-process"
if [ $(find $DIR_TO_CHECK -maxdepth 0 -type d -empty 2>/dev/null) ]; then
:
else
/usr/bin/filebot -script fn:amc -no-xattr --action test -rename --db TheMovieDB -non-strict "/mount/media/pre-process" --log-file /root/filebot/filebot_amc.log --output "/mount/media" --def movieFormat="Movies/{genres.contains('Comedy') ? 'Comedy' : genres.contains('Animation') ? 'Animation' : genres.contains('Science Fiction') ? 'Sci-Fi' : genres.contains('War') ? 'War' : genres.contains('Documentary') ? 'Documentary' : genres.contains('Fantasy') ? 'Fantasy': genres.contains('Sport') ? 'Sport': genres.contains('Horror') ? 'Horror': any{genre}{'NoGenre'}} /{n} ({y})/{n} ({y}){' CD'+pi}" --def plex=10.200.50.2:XxXXxxxXxxxXXxxxXX --def excludeList=/root/filebot/amc.txt --conflict auto
fi
Code: Select all
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mount/media/pre-process/Bridget.Jones.Diary.2001.1080p.BluRay.x264-NoGroup/Bridget_Jones_Diary/Bridget_Jones_Diary/26790426113Bridget_Jones_Diary.mkv]
Stripping invalid characters from new path: Movies/Comedy /Bridget Jones's Diary (2001)/Bridget Jones's Diary (2001)
Skipped [/mount/media/pre-process/Bridget.Jones.Diary.2001.1080p.BluRay.x264-NoGroup/Bridget_Jones_Diary/Bridget_Jones_Diary/26790426113Bridget_Jones_Diary.mkv] because [/mount/media/Movies/Comedy/Bridget Jones's Diary (2001)/Bridget Jones's Diary (2001).mkv] already exists
Processed 0 files
Code: Select all
root@bender:~/filebot# mediainfo /mount/media/Movies/Comedy/Bridget\ Jones\'s\ Diary\ \(2001\)/Bridget\ Jones\'s\ Diary\ \(2001\).mkv
General
Unique ID : 254331170514737579311517398124333167631 (0xBF5666D65EED296889FC1D63FFB0F40F)
Complete name : /mount/media/Movies/Comedy/Bridget Jones's Diary (2001)/Bridget Jones's Diary (2001).mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 800 MiB
Duration : 1h 33mn
Overall bit rate : 1 201 Kbps
Encoded date : UTC 2015-02-08 16:43:13
Writing application : mkvmerge v7.5.0 ('Glass Culture') 64bit built on Jan 4 2015 16:48:44
Writing library : libebml v1.3.1 + libmatroska v1.4.2
Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 7 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 33mn
Bit rate : 1 135 Kbps
Width : 1 216 pixels
Height : 544 pixels
Display aspect ratio : 2.25:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.072
Stream size : 755 MiB (94%)
Writing library : x264 core 114 r1924 08d04a4
Encoding settings : cabac=1 / ref=8 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=0 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=0 / rc=2pass / mbtree=0 / bitrate=1135 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=65 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=62500 / vbv_bufsize=62500 / nal_hrd=none / ip_ratio=1.40 / pb_ratio=1.30 / aq=0
Default : Yes
Forced : No
Code: Select all
root@bender:~/filebot# mediainfo /mount/media/pre-process/Bridget.Jones.Diary.2001.1080p.BluRay.x264-NoGroup/Bridget_Jones_Diary/Bridget_Jones_Diary/
General
Unique ID : 254358616429980861751240215843629015083 (0xBF5BB00686042DB8B1B3D7D26769A02B)
Complete name : /mount/media/pre-process/Bridget.Jones.Diary.2001.1080p.BluRay.x264-NoGroup/Bridget_Jones_Diary/Bridget_Jones_Diary/26790426113Bridget_Jones_Diary.mkv
Format : Matroska
Format version : Version 2
File size : 6.93 GiB
Duration : 1h 36mn
Overall bit rate mode : Variable
Overall bit rate : 10.2 Mbps
Movie name : Bridget Jones Diary 2001.Title0.BlurayRip
Encoded date : UTC 2012-06-26 17:58:19
Writing application : mkvmerge v3.0.0 ('Hang up your Hang-Ups') built on Dec 12 2009 15:20:35
Writing library : libebml v0.7.9 + libmatroska v0.8.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 36mn
Bit rate mode : Variable
Bit rate : 8 701 Kbps
Maximum bit rate : 18.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.175
Stream size : 5.77 GiB (83%)
Writing library : x264 core 104 r1683 62997d6
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.25 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-4 / threads=6 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=2 / weightp=0 / keyint=24 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=2pass / mbtree=1 / bitrate=8701 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=18000 / vbv_bufsize=18000 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=vbr
Default : Yes
Forced : No
Thanks