Page 1 of 1

AMC Cannot Handle Show Name with - in Name

Posted: 08 Jan 2018, 15:54
by DarellCraighead
I am trying to move an episode of the new series "9-1-1" and FB is passing the show name as "9 1 1" which does not match TheTVDB (which has name as "9-1-1".

Code: Select all

[me@server ~]$ filebot -script fn:amc --output /Content --log-file amc.log --action copy -non-strict /Content/Downloads/9-1-1.S01E01.1080p.HEVC.x265-MeGusta/ -no-xattr --conflict auto --def artwork=n extras=n plex=192.168.1.102:xxx myepisodes=xxx:xxx reportError=y extractFolder=/Content/Extract deleteAfterExtract=n clean=y
Locking /opt/filebot/data/logs/amc.log
Run script [fn:amc] at [Mon Jan 08 07:12:39 PST 2018]
Parameter: artwork = n
Parameter: extras = n
Parameter: plex = *****
Parameter: myepisodes = *****
Parameter: reportError = y
Parameter: extractFolder = /Content/Extract
Parameter: deleteAfterExtract = n
Parameter: clean = y
Argument[0]: /Content/Downloads/9-1-1.S01E01.1080p.HEVC.x265-MeGusta
Input: /Content/Downloads/9-1-1.S01E01.1080p.HEVC.x265-MeGusta/9-1-1.S01E01.1080p.HEVC.x265-MeGusta.mkv
Group: [tvs:9 1 1] => [9-1-1.S01E01.1080p.HEVC.x265-MeGusta.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [9 1 1]
Failed to fetch episode data: [9 1 1]
CmdlineException: Failed to match files to episode data
Finished without processing any files
Failure (°_°)
Here's my details:

Code: Select all

FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 17.10
Apache Commons VFS: [zip, rar]
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-10-30 (r508)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_112
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 15 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
uname: Linux plexmediaserver.xxx.com 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4 23:52:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Here's a query of TheTVDB:

Code: Select all

[me@server ~]$ filebot --q "9-1-1" -list --db TheTVDB
9-1-1 - 1x01 - Pilot
9-1-1 - 1x02 - Let Go
9-1-1 - 1x03 - Next of Kin
9-1-1 - 1x04 - Worst Day Ever
And with the dashes removed:

Code: Select all

[me@server tmp]$ filebot --q "9 1 1" -list --db TheTVDB
TheTVDB: no results
Failure (°_°)

Re: AMC Cannot Handle Show Name with - in Name

Posted: 08 Jan 2018, 17:51
by rednoah
Thanks for reporting this show. Please give it a week or two. Once the show has gotten a few ratings, it'll be indexed by FileBot, and allow for much better search results.

Re: AMC Cannot Handle Show Name with - in Name

Posted: 15 Jan 2018, 16:50
by DarellCraighead
Search seems to work, it returns the list of episodes. But AMC takes the dashes out of the name when it passes the query to TheTVDB and then it has no results.

Re: AMC Cannot Handle Show Name with - in Name

Posted: 15 Jan 2018, 17:08
by rednoah
Yes, that's how it works. In most cases, adding dashes will break the query, while in some rare cases, the dashes are necessary for good results to come back. There's not perfect solution, FileBot implements the solution that makes sense most of the time.

:idea: It will eventually work out of the box. It just might not immediately work for certain corner cases. Give it a week and it'll work.