TV Show language depends on folder name?

Hi,

I have some troubles to scrape my TV shows.
I configure agents for ‘French’ language (and I double check the UI because it seems there is a bug that makes return to ‘english’ when adding a library), but whatever agent I use (Plex Series Scanner or Plex TV Series), some of my shows metadata are in english.

I tried the “fix match”, without success.
So I checked the tvdb log, and something looks weird.

2021-05-26 20:26:19,708 (14fdc68f8700) :  ERROR (networking:196) - Error opening URL 'https://meta.plex.tv/tv/names/fr/5b/5b88ae9be6fb4236e3471519abb479a3670b49cd.xml'
2021-05-26 20:26:19,709 (14fdc68f8700) :  INFO (__init__:369) - Searching for exact match with: Attack+on+Titan (lang: fr)
2021-05-26 20:26:19,710 (14fdc68f8700) :  DEBUG (networking:143) - Requesting 'https://tvdb2.plex.tv/search/series?name=Attack+on+Titan'
2021-05-26 20:26:23,040 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: L'Attaque des Titans (267440)
2021-05-26 20:26:23,041 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 78
2021-05-26 20:26:23,041 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: L'Attaque des Titans Junior High-school (299882)
2021-05-26 20:26:23,042 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 67
2021-05-26 20:26:23,043 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: L'attaque des Titans - Signal de fumée (320246)
2021-05-26 20:26:23,044 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 68
2021-05-26 20:26:23,044 (14fdc68f8700) :  INFO (__init__:369) - Searching for exact match with: Attack+on+Titan (lang: en)
2021-05-26 20:26:23,045 (14fdc68f8700) :  DEBUG (networking:143) - Requesting 'https://tvdb2.plex.tv/search/series?name=Attack+on+Titan'
2021-05-26 20:26:26,414 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: Attack on Titan (267440)
2021-05-26 20:26:26,415 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 95
2021-05-26 20:26:26,415 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: Attack on Titan: Junior High (299882)
2021-05-26 20:26:26,416 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 78
2021-05-26 20:26:26,417 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: Attack on Titan: Counter Rockets (320246)
2021-05-26 20:26:26,418 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 76
2021-05-26 20:26:26,418 (14fdc68f8700) :  INFO (__init__:508) - Final result: MetadataSearchResult(lang='en', thumb=None, score=95, year='2013', id='267440', name='Attack on Titan')
2021-05-26 20:26:26,419 (14fdc68f8700) :  INFO (__init__:508) - Final result: MetadataSearchResult(lang='en', thumb=None, score=78, year='2015', id='299882', name='Attack on Titan: Junior High')
2021-05-26 20:26:26,419 (14fdc68f8700) :  INFO (__init__:508) - Final result: MetadataSearchResult(lang='en', thumb=None, score=76, year='2015', id='320246', name='Attack on Titan: Counter Rockets')

It looks like matching heuristics depends on folder naming.
I would expect after name matching, the scrapper will look for the a show in french with same tvdb number (267440) and choose it (whatever its score heuristics is because it’s “matching” tvdb id show!)

So I tried renaming “Attack on Titan” to its french name: “L’attaque des Titans”, and now metadata are ok !

2021-05-26 21:11:04,134 (14fdc68f8700) :  INFO (__init__:369) - Searching for exact match with: L%27attaque+Des+Titans (lang: fr)
2021-05-26 21:11:04,135 (14fdc68f8700) :  DEBUG (networking:143) - Requesting 'https://tvdb2.plex.tv/search/series?name=L%27attaque+Des+Titans'
2021-05-26 21:11:07,829 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: L'Attaque des Titans (267440)
2021-05-26 21:11:07,830 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 94
2021-05-26 21:11:07,830 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: L'Attaque des Titans Junior High-school (299882)
2021-05-26 21:11:07,832 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 74
2021-05-26 21:11:07,832 (14fdc68f8700) :  INFO (__init__:540) - Scoring result: L'attaque des Titans - Signal de fumée (320246)
2021-05-26 21:11:07,833 (14fdc68f8700) :  INFO (__init__:584) - Score after heuristics: 75
2021-05-26 21:11:07,834 (14fdc68f8700) :  INFO (__init__:508) - Final result: MetadataSearchResult(lang='fr', thumb=None, score=94, year='2013', id='267440', name="L'Attaque des Titans")
2021-05-26 21:11:07,834 (14fdc68f8700) :  INFO (__init__:508) - Final result: MetadataSearchResult(lang='fr', thumb=None, score=75, year='2015', id='320246', name=u"L'attaque des Titans - Signal de fum\xe9e")
2021-05-26 21:11:07,834 (14fdc68f8700) :  INFO (__init__:508) - Final result: MetadataSearchResult(lang='fr', thumb=None, score=74, year='2015', id='299882', name="L'Attaque des Titans Junior High-school")

Is this a bug or a normal behavior ?
Do I have to rename all my TV Shows to their french name ?

For the record, the movie scrapper works ok: all my movie folders have original language names, and metadata are all correctly in french.


Server Version#: 1.22.3.4392

the shows should follow the library default unless they are individually set to something else.

These settings are if you have the “Plex TV Series” agent set

1 Like

Ok.
I changed agent from “theTVDB” to “Plex TV Series” and now it works !
Only the scanner was set to “Plex TV Series”, my bad!

Thank you very much

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.