AMC TV Show Matching Issues

Any questions? Need some help?
Post Reply
ekim
Posts: 1
Joined: 16 Feb 2022, 08:24

AMC TV Show Matching Issues

Post by ekim »

I am running a Filebot docker on my Unraid server. I am trying to use it to rename optimised versions of files generated by Plex. I have been using Filebot for a while, I didn't make any changes to my settings but recently I wanted to rename everything again and the matching this time around isn't working so well.

Movies seem to be fine, it is TV shows which have most of the problems.

The full processing log is here:
https://zerobin.net/?8df532b11b29d5a6#B ... pViJS2wg0=

sysinfo output here:

Code: Select all

FileBot 4.9.4 (r8736) JDK8
JNA Native: 5.2.2
MediaInfo: 21.03
Tools: fpcalc/1.4.3 p7zip/16.02 unrar/5.61
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-01-20 (r791)
Groovy: 3.0.8
JRE: OpenJDK Runtime Environment 1.8.0_275
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 12 Core / 7 GB Max Memory / 53 MB Used Memory
OS: Linux (amd64)
HW: Linux c73994712483 5.14.15-Unraid #1 SMP Thu Oct 28 09:56:33 PDT 2021 x86_64 GNU/Linux
CPU/MEM: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz [MemTotal: 33 GB | MemFree: 521 MB | MemAvailable: 5 GB]
STORAGE: overlay [/] @ 35 GB | xfs [/:/watch:rw] @ 35 GB | xfs [/output] @ 35 GB | xfs [/watch] @ 35 GB | xfs [/:/output:rw] @ 35 GB | fuse.shfs [/config] @ 136 GB | fuse.shfs [/storage] @ 12 TB

p
DATA: /config
Package: DOCKER
License: FileBot License <redacted> (Valid-Until: 2022-04-27)
Done ヾ(@⌒ー⌒@)ノ
The format of the files that Plex is producing is as follows:

Code: Select all

<Show Name>/S01E02.mp4
It also extracts all of the SRTs seprately:

Code: Select all

<Show Name>/S01E02.599260.eng.srt
It looks as though AMC is looking at some of the language codes in the srt files to work out the name of the TV Show rather than the folder, for example from the log:

Code: Select all

Lookup via [rus]
Fetching episode data for [Rus]
Fetching episode data for [American Rust]
Fetching episode data for [Rush]
Fetching episode data for [Rusty Rivets]
Fetching episode data for [Rush (2014)]
Lookup via [horrid henry]
Fetching episode data for [Horrid Henry]
So ending up with some of these renames:

Code: Select all

[HARDLINK] from [/storage/plex-sync/Media/tv/Horrid Henry/S05E29.600405.eng.srt] to [/storage/Media/TV Shows/American Rust/Season 01/American Rust - S01E05 - Jojo Ameri-Go.eng.srt]
How can I force AMC to just look at the folder name? Or is there anything else I can do? It was working previously - so not sure what might have changed.
User avatar
rednoah
The Source
Posts: 23957
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC TV Show Matching Issues

Post by rednoah »

1.
What is the command you're using? Can you provide a simple distilled reproducible test case?

Here's what I get:

Code: Select all

$ filebot -rename . --db TheTVDB --order DVD --log INFO --action TEST
[TEST] from [Media/tv/Horrid Henry/S03E02.599630.rus.srt] to [Horrid Henry - 3x02 - Horrid Henry and the Perfect Plane.srt]
[TEST] from [Media/tv/Horrid Henry/S03E02.599631.eng.srt] to [Horrid Henry - 3x02 - Horrid Henry and the Perfect Plane.srt]
[TEST] from [Media/tv/Horrid Henry/S03E02.mp4] to [Horrid Henry - 3x02 - Horrid Henry and the Perfect Plane.mp4]


2.
If you already know in advance that the folder name is the series name, then you can use --q to optimize things, and perhaps also avoid errors:
rednoah wrote: 20 Aug 2020, 11:26 e.g. Use the parent folder name as query:

Code: Select all

--q "{ folder.name }"


3.
If your files already have xattr metadata then re-identifying and re-processing them from scratch is probably not smart. If you're processing previously processed files, then you want to use simple -rename --db xattr (and not the amc script) to just re-format file paths based on previously matched metadata:
viewtopic.php?t=13056
:idea: Please read the FAQ and How to Request Help.
Post Reply