I am using the following format to scrape my TV episodes from TheTVDB:
Code: Select all
{n} - {s00e00} - {localize.de.t.replaceAll(/[!?.]+$/).replaceAll(/[\:\/\\]/, "-").replaceAll(/[`´‘’ʻ]/, "'")
.lowerTrail()} - {localize.en.t.replaceAll(/[!?.]+$/).replaceAll(/[\:\/\\]/, "-").replaceAll(/[`´‘’ʻ]/, "'")
.lowerTrail()} [{hd}-{vf} GER-5.1 ENG-5.1 Sub-GER-ENG]
But if an episode has a German localization only for the title, but not for the description (synopsis), the English title is returned although the German title would be available.
Example series (as of Oct 21st 2018): "Making a murderer" Season 2 Episode 1:
This episode (and all the other episodes in the season) only have German localizations for the title, but not for the description.
What should be returned:
Making a Murderer - S02E01 - Nummer 18 - Number 18 [HD-720p GER-5.1 ENG-5.1 Sub-GER-ENG]
What is actually returned:
Making a Murderer - S02E01 - Number 18 - Number 18 [HD-720p GER-5.1 ENG-5.1 Sub-GER-ENG]
Proof that it works if a localized episode description is available:
Use French instead of German. The French localization is complete (title and description). Edit format would be:
Code: Select all
{n} - {s00e00} - {localize.fr.t.replaceAll(/[!?.]+$/).replaceAll(/[\:\/\\]/, "-").replaceAll(/[`´‘’ʻ]/, "'")
.lowerTrail()} - {localize.en.t.replaceAll(/[!?.]+$/).replaceAll(/[\:\/\\]/, "-").replaceAll(/[`´‘’ʻ]/, "'")
.lowerTrail()} [{hd}-{vf} FRE-5.1 ENG-5.1 Sub-GER-ENG]
Making a Murderer - S02E01 - Le dix-huitième - Number 18 [HD-720p FRE-5.1 ENG-5.1 Sub-GER-ENG]
Please fix that a localized episode title is also used if the episode description is not localized.
Thanks in advance.

My SysInfo (I use the FileBot version from Microsoft Store):
Code: Select all
FileBot 4.8.4 (r5829)
JNA Native: 5.2.2
MediaInfo: 18.05
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-10-05 (r536)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 10.0.2
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 7 GB Max Memory / 58 MB Used Memory
OS: Windows 10 (amd64)
Package: APPX
License: Microsoft Store License
Done ?(?????)?