Repository: pymedusa/Medusa

Issue:
True Lies (2023) Pulling Wrong Poster in Medusa
**Describe the bug**
When adding the TV show (in development for 2023 now) True Lies, it is pulling the poster of True Love or True Lies (some reality dating show I guess).

**To Reproduce**
Steps to reproduce the behavior:
1. Go to **ADD SHOWS**
2. Type In **True Lies and Select Exact Title**
3. Scroll down to **True Lies TVDB2 or TVMaze**
4. It will add to the list of shows and pull it.

**Expected behavior**
A standard Medusa Title at 45 degrees until the show is out and posters, backgrounds, etc can be made.


**Screenshots**
![Screenshot 2022-05-29 082901](https://user-images.githubusercontent.com/81588261/170871331-b80e9654-ca7e-4707-9f97-ddd1353b5f59.png)
![Screenshot 2022-05-29 082901](https://user-images.githubusercontent.com/81588261/170871354-702be351-e796-41a0-a00f-684a053b5373.png)


**Medusa (please complete the following information):**
 - OS: **Windows 11 Pro**
 - Branch: **Master**
 - Commit: **[0.5.29]**
 - Python version: **3.73**
 - Database version: **44.19**

**Debug logs (at least 50 lines):**
General > Advanced Settings > Enable debug
<details>

```
2022-05-29 08:31:29 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/series/tvdb380853/asset/fanart?api_key=********** (127.0.0.1) 52.04ms
2022-05-29 08:31:29 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/log?level=INFO&thread=&period=one_day&query=&limit=1000 (127.0.0.1) 84.57ms
2022-05-29 08:30:11 INFO	TORNADO :: [e4870f8] 101 GET /ws/ui (127.0.0.1) 0.50ms
2022-05-29 08:30:11 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/series?limit=1000&page=1 (127.0.0.1) 38.53ms
2022-05-29 08:30:11 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/config/ (127.0.0.1) 14.51ms
2022-05-29 08:30:11 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/stats/ (127.0.0.1) 11.01ms
2022-05-29 08:30:11 INFO	TORNADO :: [e4870f8] 200 GET /token (127.0.0.1) 0.50ms
2022-05-29 08:30:10 INFO	TORNADO :: [e4870f8] 304 GET /config/ (127.0.0.1) 1.00ms
2022-05-29 08:25:41 INFO	TORNADO :: [e4870f8] 101 GET /ws/ui (127.0.0.1) 0.50ms
2022-05-29 08:25:41 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/series?limit=1000&page=1 (127.0.0.1) 39.53ms
2022-05-29 08:25:41 INFO	TORNADO :: [e4870f8] 200 GET /images/16x_sprite_colored_help-info.png (127.0.0.1) 1.50ms
2022-05-29 08:25:41 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/config/ (127.0.0.1) 14.01ms
2022-05-29 08:25:41 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/stats/ (127.0.0.1) 10.51ms
2022-05-29 08:25:41 INFO	TORNADO :: [e4870f8] 200 GET /token (127.0.0.1) 0.50ms
2022-05-29 08:25:41 INFO	TORNADO :: [e4870f8] 200 GET /config/ (127.0.0.1) 1.00ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 101 GET /ws/ui (127.0.0.1) 0.50ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/series?limit=1000&page=1 (127.0.0.1) 61.55ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 404 GET /api/v2/series/tvdb420096/asset/banner?api_key=********** (127.0.0.1) 1.50ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 200 PATCH /api/v2/config/main (127.0.0.1) 13.51ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/series/tvdb420096/episodes?limit=1000&season=1 (127.0.0.1) 12.51ms
2022-05-29 08:25:26 DEBUG	APIv2-Thread-5 :: [e4870f8] Broken providers already updated in the last hour
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/series/tvdb420096?detailed=true (127.0.0.1) 2.00ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/config/ (127.0.0.1) 17.51ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/stats/ (127.0.0.1) 13.01ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 200 GET /token (127.0.0.1) 0.50ms
2022-05-29 08:25:26 INFO	TORNADO :: [e4870f8] 304 GET /home/displayShow?showslug=tvdb420096 (127.0.0.1) 1.00ms
2022-05-29 08:25:06 INFO	TORNADO :: [e4870f8] 304 GET /config/postProcessing/testNaming?pattern=%25SN+420096+tt7380366&abd=true (127.0.0.1) 10.51ms
2022-05-29 08:25:06 INFO	TORNADO :: [e4870f8] 304 GET /config/postProcessing/testNaming?pattern=%25SN+S%250S&abd=true (127.0.0.1) 11.01ms
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] 12345: Formatting pattern: %SN 420096 tt7380366 -> Show Name 420096 tt7380366
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] 12345: Episode has no release group, replacing it with RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] 12345: Formatting pattern: %SN S%0S -> Show Name S02
2022-05-29 08:25:06 INFO	TORNADO :: [e4870f8] 304 GET /config/postProcessing/testNaming?pattern=%25SN+S%250SE%250E&abd=true (127.0.0.1) 9.51ms
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] Found codec for Show Name Ep Name
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] 12345: Episode has no release group, replacing it with RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] 12345: Formatting pattern: %SN S%0SE03 -> Show Name S02E03
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] Parsed Show.Name.2011.03.09.HDTV.x264-RLSGROUP into title: Show Name, date: 2011-03-09, source: HDTV, video_codec: H.264, video_encoder: x264, release_group: RLSGROUP, type: episode, parsing_time: 0.00250244140625, season: None, episode: [], absolute_episode: [], quality: SDTV, total_time: 0.00250244140625
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] Found codec for Show Name Ep Name
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] 12345: Episode has no release group, replacing it with RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] Matched release Show.Name.2011.03.09.HDTV.x264-RLSGROUP to a series in your database: Show Name
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] Parsed Show.Name.2011.03.09.HDTV.x264-RLSGROUP into title: Show Name, date: 2011-03-09, source: HDTV, video_codec: H.264, video_encoder: x264, release_group: RLSGROUP, type: episode, parsing_time: 0.00250244140625, season: None, episode: [], absolute_episode: [], quality: SDTV, total_time: 0.0030035972595214844
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] Found codec for Show Name Ep Name
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] Using cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] Matched release Show.Name.2011.03.09.HDTV.x264-RLSGROUP to a series in your database: Show Name
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] Parsed Show.Name.2011.03.09.HDTV.x264-RLSGROUP into title: Show Name, date: 2011-03-09, source: HDTV, video_codec: H.264, video_encoder: x264, release_group: RLSGROUP, type: episode, parsing_time: 0.0030035972595214844, season: None, episode: [], absolute_episode: [], quality: SDTV, total_time: 0.004004716873168945
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] Using cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] Matched release Show.Name.2011.03.09.HDTV.x264-RLSGROUP to a series in your database: Show Name
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] Using guessit cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] Using guessit cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] Using cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] 12345: Show Name S02E03 not found in the database
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] 12345: Show Name S02E03 not found in the database
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] Using guessit cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] 12345: Unable to find the show in the database
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] 12345: Show Name S02E03 not found in the database
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] 12345: Unable to find the show in the database
2022-05-29 08:25:06 DEBUG	Thread-33 :: [e4870f8] 12345: Loading show info from database
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] 12345: Unable to find the show in the database
2022-05-29 08:25:06 DEBUG	Thread-21 :: [e4870f8] 12345: Loading show info from database
2022-05-29 08:25:06 DEBUG	Thread-4 :: [e4870f8] 12345: Loading show info from database
2022-05-29 08:25:06 INFO	TORNADO :: [e4870f8] 200 GET /config/postProcessing/testNaming?pattern=%25SN+420096+tt7380366&abd=true (127.0.0.1) 20.52ms
2022-05-29 08:25:06 DEBUG	Thread-5 :: [e4870f8] 12345: Formatting pattern: %SN 420096 tt7380366 -> Show Name 420096 tt7380366
2022-05-29 08:25:06 DEBUG	Thread-5 :: [e4870f8] 12345: Episode has no release group, replacing it with RLSGROUP
2022-05-29 08:25:06 DEBUG	Thread-5 :: [e4870f8] Found codec for Show Name Ep Name
2022-05-29 08:25:06 DEBUG	Thread-5 :: [e4870f8] Parsed Show.Name.2011.03.09.HDTV.x264-RLSGROUP into title: Show Name, date: 2011-03-09, source: HDTV, video_codec: H.264, video_encoder: x264, release_group: RLSGROUP, type: episode, parsing_time: 0.01701498031616211, season: None, episode: [], absolute_episode: [], quality: SDTV, total_time: 0.01701498031616211
2022-05-29 08:25:06 DEBUG	Thread-5 :: [e4870f8] Matched release Show.Name.2011.03.09.HDTV.x264-RLSGROUP to a series in your database: Show Name
2022-05-29 08:25:05 DEBUG	Thread-5 :: [e4870f8] GuessIt cache was cleared due to invalidation object change: previous={'show_type': 'normal', 'type': 'episode', 'implicit': True, 'episode_prefer_number': False, 'expected_title': ['Ghostwriter (2019)', 'Guilty Party (2021)', 'Perry Mason (2020)', 'Big Sky (2020)', 'Hacks (2021)', 'Kung Fu (2021)', 'Professionals (2020)', 'Raised by Wolves (2020)', 'The Flash (2014)', 'The Goldbergs (2013)', 'The Hardy Boys (2020)', '9-1-1: Lone Star', 'Nancy Drew (2019)', 'Saved by the Bell (2020)', 'Charmed (2018)', 'Fantasy Island (2021)', 'Foundation (2021)', 'Gossip Girl (2021)', 'He-Man and the Masters of the Universe (2021)', 'Hunters (2020)', 'Invasion (2021)', 'Invincible (2021)', 'Maggie (2022)', 'She-Hulk: Attorney at Law', 'Miracle Workers (2019)', 'Titans (2018)', 'War of the Worlds (2019)', 'Bull (2016)', 'Amazing Stories (2020)', 'The Watch (2021)', 'Night Court (2022)', '9-1-1', 'Obi-Wan Kenobi', 'Bel-Air', 'Yellowstone (2018)', "That '90s Show"], 'expected_group': ['TV2LAX9', 'DHD', '20-40', 'E7'], 'allowed_languages': ['de', 'en', 'es', 'ca', 'fr', 'he', 'hu', 'it', 'jp', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'uk', 'mul', 'und'], 'allowed_countries': ['us', 'gb']} new={'show_type': 'normal', 'type': 'episode', 'implicit': True, 'episode_prefer_number': False, 'expected_title': ['Ghostwriter (2019)', 'Guilty Party (2021)', 'Perry Mason (2020)', 'Big Sky (2020)', 'Hacks (2021)', 'Kung Fu (2021)', 'Professionals (2020)', 'Raised by Wolves (2020)', 'The Flash (2014)', 'The Goldbergs (2013)', 'The Hardy Boys (2020)', '9-1-1 Lonestar', '9-1-1 lone star', '9-1-1: Lone Star', '9-1-1 lone star (2020)', '9-1-1 Lone Star (2020)', '9-1-1 Lone Star', 'Nancy Drew (2019)', 'Saved by the Bell (2020)', 'Charmed (2018)', 'Fantasy Island (2021)', 'Foundation (2021)', 'tt11379026', 'Ghosts (2021)', 'Ghosts (US) (2021)', 'Gossip Girl (2021)', 'He-Man and the Masters of the Universe (2021)', 'Hunters (2020)', 'Invasion (2021)', 'Invincible (2021)', 'Maggie (2022)', 'She-Hulk: Attorney at Law', 'Miracle Workers (2019)', 'The Cleaning Lady (2022)', 'The Wheel of Time (2021)', 'Titans (2018)', 'War of the Worlds (2019)', 'Bull (2016)', 'Amazing Stories (2020)', 'The Watch (2021)', 'Night Court (2022)', 'What If 2021', '9-1-1', 'Obi-Wan Kenobi', 'Bel-Air', 'Yellowstone (2018)', 'Shining Vale (2022)', 'Winning Time The Rise of the Lakers Dynasty (2022)', 'Winning Time: The Rise of the Lakers Dynasty (2022)', 'The Rise of the Lakers Dynasty (2022)', 'tt10244600', 'Lakers Dynasty (2022)', "That '90s Show"], 'expected_group': ['TV2LAX9', 'DHD', '20-40', 'E7'], 'allowed_languages': ['de', 'en', 'es', 'ca', 'fr', 'he', 'hu', 'it', 'jp', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'uk', 'mul', 'und'], 'allowed_countries': ['us', 'gb']}
2022-05-29 08:25:05 DEBUG	Thread-5 :: [e4870f8] 12345: Show Name S02E03 not found in the database
2022-05-29 08:25:05 DEBUG	Thread-5 :: [e4870f8] 12345: Unable to find the show in the database
2022-05-29 08:25:05 DEBUG	Thread-5 :: [e4870f8] 12345: Loading show info from database
2022-05-29 08:25:05 INFO	TORNADO :: [e4870f8] 200 PATCH /api/v2/series/tvdb420096 (127.0.0.1) 44.60ms
2022-05-29 08:25:05 DEBUG	APIv2-Thread-34 :: [e4870f8] 420096: Saving to database: True Lies
2022-05-29 08:25:05 DEBUG	APIv2-Thread-34 :: [e4870f8] Internal name cache for true lies set to: true lies
2022-05-29 08:25:05 INFO	APIv2-Thread-34 :: [e4870f8] Building internal name cache for True Lies
2022-05-29 08:25:05 INFO	APIv2-Thread-34 :: [e4870f8] Finished processing 3900 scene exceptions.
2022-05-29 08:25:05 INFO	APIv2-Thread-34 :: [e4870f8] Updating exception_cache and exception_season_cache
2022-05-29 08:25:05 DEBUG	APIv2-Thread-34 :: [e4870f8] Generating default search template for show True Lies, creating template %SN S%0SE%0E, title True Lies, season -1
2022-05-29 08:25:05 INFO	TORNADO :: [e4870f8] 200 PATCH /api/v2/series/tvdb420096 (127.0.0.1) 15.01ms
2022-05-29 08:25:05 INFO	APIv2-Thread-34 :: [e4870f8] Finished processing 0 scene exceptions.
2022-05-29 08:25:05 INFO	APIv2-Thread-34 :: [e4870f8] Updating exception_cache and exception_season_cache
2022-05-29 08:25:05 INFO	APIv2-Thread-34 :: [e4870f8] Updating scene exceptions...
2022-05-29 08:25:05 DEBUG	APIv2-Thread-13 :: [e4870f8] 420096: Saving to database: True Lies
2022-05-29 08:25:05 DEBUG	APIv2-Thread-13 :: [e4870f8] Building black and white list for True Lies
2022-05-29 08:25:03 INFO	TORNADO :: [e4870f8] 200 GET /config/postProcessing/testNaming?pattern=True+Lies+(2023)+420096+tt7380366&abd=true (127.0.0.1) 4.00ms
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] 12345: Formatting pattern: True Lies (2023) 420096 tt7380366 -> True Lies (2023) 420096 tt7380366
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] 12345: Episode has no release group, replacing it with RLSGROUP
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] Found codec for Show Name Ep Name
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] Parsed Show.Name.2011.03.09.HDTV.x264-RLSGROUP into title: Show Name, date: 2011-03-09, source: HDTV, video_codec: H.264, video_encoder: x264, release_group: RLSGROUP, type: episode, parsing_time: 0.0010006427764892578, season: None, episode: [], absolute_episode: [], quality: SDTV, total_time: 0.0010006427764892578
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] Matched release Show.Name.2011.03.09.HDTV.x264-RLSGROUP to a series in your database: Show Name
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] Using cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] Using guessit cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] 12345: Show Name S02E03 not found in the database
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] 12345: Unable to find the show in the database
2022-05-29 08:25:03 DEBUG	Thread-14 :: [e4870f8] 12345: Loading show info from database
2022-05-29 08:24:56 INFO	TORNADO :: [e4870f8] 200 GET /config/postProcessing/testNaming?pattern=True+Lies+(2023)+420096+&abd=true (127.0.0.1) 4.50ms
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] 12345: Formatting pattern: True Lies (2023) 420096 -> True Lies (2023) 420096
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] 12345: Episode has no release group, replacing it with RLSGROUP
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] Found codec for Show Name Ep Name
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] Parsed Show.Name.2011.03.09.HDTV.x264-RLSGROUP into title: Show Name, date: 2011-03-09, source: HDTV, video_codec: H.264, video_encoder: x264, release_group: RLSGROUP, type: episode, parsing_time: 0.001001119613647461, season: None, episode: [], absolute_episode: [], quality: SDTV, total_time: 0.001001119613647461
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] Matched release Show.Name.2011.03.09.HDTV.x264-RLSGROUP to a series in your database: Show Name
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] Using cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] Using guessit cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] 12345: Show Name S02E03 not found in the database
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] 12345: Unable to find the show in the database
2022-05-29 08:24:56 DEBUG	Thread-20 :: [e4870f8] 12345: Loading show info from database
2022-05-29 08:24:54 INFO	TORNADO :: [e4870f8] 200 GET /config/postProcessing/testNaming?pattern=True+Lies+(2023)+420096&abd=true (127.0.0.1) 4.50ms
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] 12345: Formatting pattern: True Lies (2023) 420096 -> True Lies (2023) 420096
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] 12345: Episode has no release group, replacing it with RLSGROUP
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] Found codec for Show Name Ep Name
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] Parsed Show.Name.2011.03.09.HDTV.x264-RLSGROUP into title: Show Name, date: 2011-03-09, source: HDTV, video_codec: H.264, video_encoder: x264, release_group: RLSGROUP, type: episode, parsing_time: 0.0015017986297607422, season: None, episode: [], absolute_episode: [], quality: SDTV, total_time: 0.0015017986297607422
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] Matched release Show.Name.2011.03.09.HDTV.x264-RLSGROUP to a series in your database: Show Name
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] Using cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] Using guessit cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] 12345: Show Name S02E03 not found in the database
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] 12345: Unable to find the show in the database
2022-05-29 08:24:54 DEBUG	Thread-29 :: [e4870f8] 12345: Loading show info from database
2022-05-29 08:24:43 INFO	TORNADO :: [e4870f8] 200 GET /config/postProcessing/testNaming?pattern=True+Lies+(2023)420096&abd=true (127.0.0.1) 5.50ms
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] 12345: Formatting pattern: True Lies (2023)420096 -> True Lies (2023)420096
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] 12345: Episode has no release group, replacing it with RLSGROUP
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] Found codec for Show Name Ep Name
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] Parsed Show.Name.2011.03.09.HDTV.x264-RLSGROUP into title: Show Name, date: 2011-03-09, source: HDTV, video_codec: H.264, video_encoder: x264, release_group: RLSGROUP, type: episode, parsing_time: 0.0020017623901367188, season: None, episode: [], absolute_episode: [], quality: SDTV, total_time: 0.0020017623901367188
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] Matched release Show.Name.2011.03.09.HDTV.x264-RLSGROUP to a series in your database: Show Name
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] Using cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] Using guessit cache item for Show.Name.2011.03.09.HDTV.x264-RLSGROUP
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] 12345: Show Name S02E03 not found in the database
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] 12345: Unable to find the show in the database
2022-05-29 08:24:43 DEBUG	Thread-8 :: [e4870f8] 12345: Loading show info from database
2022-05-29 08:24:19 INFO	TORNADO :: [e4870f8] 404 GET /api/v2/series/tvdb420096/asset/banner?api_key=********** (127.0.0.1) 0.50ms
2022-05-29 08:24:19 INFO	TORNADO :: [e4870f8] 101 GET /ws/ui (127.0.0.1) 0.50ms
2022-05-29 08:24:19 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/series?limit=1000&page=1 (127.0.0.1) 66.06ms
2022-05-29 08:24:19 INFO	TORNADO :: [e4870f8] 200 PATCH /api/v2/config/main (127.0.0.1) 15.01ms
2022-05-29 08:24:19 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/series/tvdb420096/episodes?limit=1000&season=1 (127.0.0.1) 14.51ms
2022-05-29 08:24:19 DEBUG	APIv2-Thread-2 :: [e4870f8] Broken providers already updated in the last hour
2022-05-29 08:24:19 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/series/tvdb420096?detailed=true (127.0.0.1) 2.00ms
2022-05-29 08:24:19 INFO	TORNADO :: [e4870f8] 200 GET /api/v2/config/ (127.0.0.1) 14.51ms
2022-05-29 08:24:18 INFO	TORNADO :: [e4870f8] 304 GET /api/v2/stats/ (127.0.0.1) 11.01ms
2022-05-29 08:24:18 INFO	TORNADO :: [e4870f8] 200 GET /token (127.0.0.1) 0.50ms
2022-05-29 08:24:18 INFO	TORNADO :: [e4870f8] 304 GET /home/displayShow?showslug=tvdb420096 (127.0.0.1) 1.00ms
2022-05-29 08:23:44 INFO	TORNADO :: [e4870f8] 200 GET /config/postProcessing/testNaming?pattern=%25SN+S%250S&abd=true (127.0.0.1) 21.02ms
2022-05-29 08:23:44 DEBUG	Thread-27 :: [e4870f8] 12345: Formatting pattern: %SN S%0S -> Show Name S02
2022-05-29 08:23:44 INFO	TORNADO :: [e4870f8] 200 GET /config/postProcessing/testNaming?pattern=%25SN+S%250SE%250E&abd=true (127.0.0.1) 21.02ms
[Debug Logs.txt](https://github.com/pymedusa/Medusa/files/8793425/Debug.Logs.txt)

```
</details>

**Additional context**
Add any other context about the problem here.



Discussion:
Then someone added that poster in tvdb. ND that's why tvdb is returning that poster. You can try fixing it in tvdb
I would but there's no poster or artwork on the TVDB page for this. Since
it's post production there's nothing there. I have noticed other ones but
they never had the wrong poster. I may try to put a Medusa poster in there
on the site but I don't think that will work.

On Sun, May 29, 2022, 9:54 AM p0ps ***@***.***> wrote:

> Then someone added that poster in tvdb. ND that's why tvdb is returning
> that poster. You can try fixing it in tvdb
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/pymedusa/Medusa/issues/10682#issuecomment-1140465568>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ATOPAJJIE4LNDX2ZSU4ELELVMOAIZANCNFSM5XIFUBRA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>

This show is in development and Medusa can only find it via Imdb in the "Add Show".
Although the show is available on both:

Tvdb: https://thetvdb.com/series/true-lies) 
TvMaze:  https://www.tvmaze.com/shows/57470/true-lies

But **without** poster and in the status "in development"

@p0psicles 
I can understand that Medusa ignores shows that are "in development" from Tvdb and TvMaze, but why does is add the poster frmm another show? (https://thetvdb.com/series/true-love-or-true-lies)
I should be a default poster.


Medusa doesn't make up posters. It only uses what it gets from the API.
The poster that is used is from the show "True Love or True Lies?", which is a totally different show.
There is no poster for this show on Imdb, Tvdb, TvMaze or Fanart so Medusa could not get it at all and should use some kind of default poster or nothing.
It's all good. I just thought there was a default that it created but if
not, that's fine

On Mon, May 30, 2022, 6:33 AM BenjV ***@***.***> wrote:

> The poster that is used is from the show "True Love or True Lies?", which
> is a totally different show.
> There is no poster for this show on Imdb, Tvdb, TvMaze or Fanart so Medusa
> could not get it at all and should use some kind of default poster or
> nothing.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/pymedusa/Medusa/issues/10682#issuecomment-1141046240>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ATOPAJI4GKTVSWSDNXODHSLVMSRQ7ANCNFSM5XIFUBRA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>

No default or no image is ok but a poster from a different show is wrong.

I looked in the image cache and found in the imdb folder these files:
7380366.poster.jpg
7380366.fanart.jpg

That is the correct imdb number but the images are from the show tt12382380 ("True Love or True Lies")
So apparently there is some code that does a fallback search for the same show title in tmdb, if the poster is missing in tvdb. Which is a flaky solution imo. So i'll remove that fallback.
I agree totally, no poster is better then the wrong poster.
Thank you

On Tue, May 31, 2022, 4:14 AM BenjV ***@***.***> wrote:

> I agree totally, no poster is better then the wrong poster.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/pymedusa/Medusa/issues/10682#issuecomment-1141880895>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ATOPAJKROUZYWIWLMSHFGYTVMXJ7HANCNFSM5XIFUBRA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>


Resolving patch:
diff --git a/medusa/metadata/generic.py b/medusa/metadata/generic.py
--- a/medusa/metadata/generic.py
+++ b/medusa/metadata/generic.py
@@ -795,9 +795,14 @@ def _retrieve_show_image(self, image_type, show_obj, episode=None, which=None):
                 else:
                     image_url = re.sub('posters', '_cache/posters', indexer_show_obj['poster'])
 
-            if not image_url:
+            if not image_url and show_obj.indexer != INDEXER_TMDB and show_obj.externals.get('tmdb_id'):
                 # Try and get images from TMDB
                 image_url = self._retrieve_show_images_from_tmdb(show_obj, image_type)
+                if not image_url:
+                    log.info(
+                        'Could not find any {type} images on TMDB for {series}',
+                        {'type': image_type, 'series': show_obj.name}
+                    )
 
         elif image_type == 'banner_thumb':
             if getattr(indexer_show_obj, 'banner', None):
@@ -809,9 +814,14 @@ def _retrieve_show_image(self, image_type, show_obj, episode=None, which=None):
             if getattr(indexer_show_obj, image_type, None):
                 image_url = indexer_show_obj[image_type]
 
-            if not image_url and show_obj.indexer != INDEXER_TMDB:
+            if not image_url and show_obj.indexer != INDEXER_TMDB and show_obj.externals.get('tmdb_id'):
                 # Try and get images from TMDB
                 image_url = self._retrieve_show_images_from_tmdb(show_obj, image_type)
+                if not image_url:
+                    log.info(
+                        'Could not find any {type} images on TMDB for {series}',
+                        {'type': image_type, 'series': show_obj.name}
+                    )
 
         if image_url:
             image_data = get_image(image_url, which)
@@ -1039,6 +1049,9 @@ def _retrieve_show_images_from_tmdb(show, img_type):
                  'poster_thumb': 'poster_path',
                  'banner_thumb': None}
 
+        if not types[img_type]:
+            return
+
         # get TMDB configuration info
         tmdb.API_KEY = app.TMDB_API_KEY
         config = tmdb.Configuration()
@@ -1058,20 +1071,19 @@ def size_str_to_int(x):
         max_size = max(sizes, key=size_str_to_int)
 
         try:
-            search = tmdb.Search()
-            for show_name in show.get_all_possible_names():
-                for result in search.collection(query=show_name)['results'] + search.tv(query=show_name)['results']:
-                    if types[img_type] and result.get(types[img_type]):
-                        return '{0}{1}{2}'.format(base_url, max_size, result[types[img_type]])
+            result = tmdb.TV(show.externals.get('tmdb_id')).info()
+            if not result[types[img_type]]:
+                return
 
+            if img_type == 'poster_thumb':
+                return '{0}{1}{2}'.format(
+                    base_url, 'w780' if 'w780' in response['images']['poster_sizes'] else max_size, result[types[img_type]]
+                )
+
+            return '{0}{1}{2}'.format(base_url, max_size, result[types[img_type]])
         except Exception:
             pass
 
-        log.info(
-            'Could not find any {type} images on TMDB for {series}',
-            {'type': img_type, 'series': show.name}
-        )
-
     def to_json(self):
         """Return JSON representation."""
         data = {}


Test patch: