[Filebot Node] Incorrect TV Shows

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
noname2111
Posts: 1
Joined: 25 Sep 2018, 12:58

[Filebot Node] Incorrect TV Shows

Post by noname2111 »

Hello. Unfortunately I do not know much English, because of this I'm writing through an interpreter. Immediately I apologize if I'm not completely clear

I'm using the script (Synology Filebot Node) :

Code: Select all

-script
fn:amc
/volume2/torrents/downloads
--output
/volume2/torrents
--action
move
-non-strict
--conflict
skip
--lang
eng
--def
skipExtract=y
seriesFormat=TV_Shows/{primaryTitle}/{"Season ${s.pad(2)}"} [{episodelist.count{ it.episode && it.season == s }}]/{primaryTitle} - {episode.special ? 'S00E'+special.pad(2) : s00e00} [{airdate.format('yyyy.MM.dd')}] [{hd}.{vf}] - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}
movieFormat=Movies/{primaryTitle} ({y}) [{n}]
excludeList=excludes.txt
--log
all
--log-file
/volume2/torrents/filebot.txt
have TV Shows 2018, an incoming file: Maniac.S01E01.1080p.rus.LostFilm.TV.mkv

Code: Select all

Input: /volume2/torrents/downloads/Maniac.S01E01.1080p.rus.LostFilm.TV.mkv
Group: [tvs:maniac] => [Maniac.S01E01.1080p.rus.LostFilm.TV.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [maniac]
Fetching episode data for [Maniac]
Fetching episode data for [Mani]
Fetching episode data for [Animaniacs]
Fetching episode data for [Maniac (2018)]
Fetching episode data for [Maniac Mansion]
[MOVE] from [/volume2/torrents/downloads/Maniac.S01E01.1080p.rus.LostFilm.TV.mkv] to [/volume2/torrents/TV_Shows/Maniac/Season 01 [10]/Maniac - S01E01 [2015.12.01] [HD.1080p] - Episode 1.mkv]
at output: Maniac - S01E01 [2015.12.01]. I understand why this happened, the incoming file does not have a year
but if you try another show (2016):
Animal.Kingdom.S01E01.LostFilm.TV.avi

Code: Select all

Input: /volume2/torrents/downloads/Animal.Kingdom.S01E01.LostFilm.TV.avi
Group: [tvs:animal kingdom] => [Animal.Kingdom.S01E01.LostFilm.TV.avi]
Rename episodes using [TheTVDB]
Auto-detected query: [Animal Kingdom]
Fetching episode data for [Animal Kingdom]
Fetching episode data for [Animal Kingdom (2016)]
Fetching episode data for [Kingdom Hospital]
[MOVE] from [/volume2/torrents/downloads/Animal.Kingdom.S01E01.LostFilm.TV.avi] to [/volume2/torrents/TV_Shows/Animal Kingdom (2016)/Season 01 [10]/Animal Kingdom (2016) - S01E01 [2016.06.14] [SD.480p] - Pilot.avi]
at output: Animal Kingdom (2016) - S01E01 [2016.06.14] [SD.480p] - Pilot.avi]
where is the logic? how did he understand that this is exactly 2016?

I know how to fix such problems manually. What to do with automation?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Filebot Node] Incorrect TV Shows

Post by rednoah »

Animal Kingdom (2016) is the unique name of that series:
https://www.thetvdb.com/series/animal-kingdom-2016

Not to be confused with Animal Kingdom which is a different show:
https://www.thetvdb.com/series/animal-kingdom

:idea: It's possible to just strip the (...) part at the end of the value of {n} but I wouldn't recommend that, as that might lead to confusion between the two different Animal Kingdom TV shows that share the same name.
:idea: Please read the FAQ and How to Request Help.
Post Reply