I suspect the errors are to do with the {plex} qualifier. But i dont know...
Here are a couple examples:
using the script (in python calling system)
Code: Select all
FILEBOTSCRIPT="filebot -script fn:amc --log INFO --output \"" + outDir + "\" --action move --conflict auto -non-strict \"" + inDir + "\" --filter \"(n != \'American Dad!\' || s == 16)\" --log-file amc.log --def clean=y music=y subtitles=en musicFormat=\"{plex}\" movieFormat=\"{plex}\" seriesFormat=\"{plex}\" minFileSize=4"
print('Called Filebot command')
return os.system(FILEBOTSCRIPT)
EXAMPLE #1 (NAMED FILE AS RANDOM TV SHOW "The Odyssey - S03E07"):
MISTAKE: The file "www.HDSector.com - The.Bodyguard.1992.BluRay.1080p.x264.AAC.5.1.-.Hon3y.mkv" is renamed to "The Odyssey - S03E07 - The Cauldron.mkv"
This is what the CLI outputs:
Code: Select all
Called Filebot command
No matching subtitles found: /media/MYPATH/Incomplete/www.HDSector.com - The.Bodyguard.1992.BluRay.1080p.x264.AAC.5.1.-.Hon3y.mkv
Resource not found: https://api.thetvdb.com/search/series?name=the+bodyguard+1992
[MOVE] from [/media/MYPATH/Incomplete/www.HDSector.com - The.Bodyguard.1992.BluRay.1080p.x264.AAC.5.1.-.Hon3y.mkv] to [/media/TV Shows/The Odyssey/Season 03/The Odyssey - S03E07 - The Cauldron.mkv]
Delete /media/MYPATH/Incomplete/The.Bodyguard.1992.BluRay.1080p.x264.AAC.5.1.-.Hon3y
When the above file is run through the GUI:
Steps followed in GUI: Loading the folder> Selecting 'Movie Mode: TheMovieDB'> Match
Named Correctly... Screenshot:

EXAMPLE #2 (FAILED TO NAME FILE COMPLETELY):
MISTAKE: The file "Fast.and.Furious.Presents.Hobbs.and.Shaw.2019.1080p.KORSUB.HDRip.x264.AAC2.0-STUTTERSHIT.mp4" fails to find a match
This is what the CLI outputs:
Code: Select all
Called Filebot command
No matching subtitles found: /media/MYPATH/Incomplete/Fast.and.Furious.Presents.Hobbs.and.Shaw.2019.1080p.KORSUB.HDRip.x264.AAC2.0-STUTTERSHIT.mp4
Failed to fetch episode data: [fast and furious presents hobbs and shaw 2019]
CmdlineException: Failed to match files
Steps followed in GUI: Loading the folder> Selecting 'Movie Mode: TheMovieDB'> Match
Faild to ID ... Screenshot:

Named Correctly (after selecting best match manually)... Screenshot:

Request for help info:
[*] - Include System Information: Ubuntu 18.04.3 LTS
[*] - How did you install FileBot?: Ubuntu Software Store (https://en.wikipedia.org/wiki/GNOME_Software)
[*] - Grooby Pad Sysinfo:
Code: Select all
FileBot 4.8.5 (r6224)
JNA Native: 5.2.0
MediaInfo: 17.12
p7zip: p7zip Version 16.02 (locale=en_CA.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (306C3),ASM,AES-NI)
unrar: UNRAR 5.50 freeware
Chromaprint: fpcalc version 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.4
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 7 GB Max Memory / 160 MB Used Memory
OS: Linux (amd64)
HW: Linux X-PC 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
DATA: /home/me/.filebot
Package: DEB
License: FileBot License PX4162640 (Valid-Until: 2068-07-30)
I also get these errors once in a while when running the CLI. Not sure if its related or if i should make a seperate thread:
Code: Select all
Resource not found: https://api.themoviedb.org/3/collection/null?language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
Code: Select all
Resource not found: https://api.thetvdb.com/search/series?name=the+bodyguard+1992