ERROR (networking:219) - Error opening URL 'https://thetvdb.com/banners/' for everyone or just me?

It seems like theTVDB just got a new website: forums.thetvdb.com/viewtopic.php?f=3&t=47469
Maybe this has something to do with their API being down or new.

@“Swee Jin” said:
Unfortunately, the suggestions offered by Skynet3_NZ and PlexBurst did not work for me. The images still did not load. Guess I’ll have to wait until the API is up and running again.> @PixelBurst said:

@marshallhunter07 said:
Skynet3_NZ method did not work for me. I am still having the same problem

It works for me as well.

Here’s what I had to do on a couple that had already been matched after doing the steps as described by Skynet3_NZ.

Select the 
 menu on the item that is missing data, fix match. Click search options, and drop the Agent down to The Movie Database, then hit search and pick the match.

That should sort you out.

Thanks for the suggestion. Unfortunately, this only worked for some of the TV shows for me. I hope the TVdb API gets sorted out.

One last try with this one then -

Under libraries for the library that’s affected, hit the ‘
’ menu. Then go A dvanced, scroll right down to the bottom and there should be Agent “TheTVDB” with a dropdown at the bottom of that section. Switch that to ‘The Movie Database’ then save changes. Finally hit the ‘
’ menu again for that library and ‘refresh all meta-data’.

Let me know if it works!

@Neophear said:
It seems like theTVDB just got a new website: forums.thetvdb.com/viewtopic.php?f=3&t=47469
Maybe this has something to do with their API being down or new.

Unfortunately the new site was released just about a month ago. This newest problem is relatively new so it is highly unlikely that the launch of the site had anything to do with it. The API itself might have been altered more recently however, or simply their servers that run and host it are having issues. But a fair guess at the very least!

I have the same problem. The TVDB has a new website and a new api. Please Plex Team: Fix this problem as soon as possible.

Does anybody know when this problem will be resolved? Thank you

The scraper shouldn’t ever be hitting https://www.thetvdb.com/banners/, rather it should be grabbing the actual url for the image as returned by the API (https://www.thetvdb.com/banners/graphical/$IMAGE_NAME.jpg). Not sure why the scraper is doing that but it’s been reported to the Plex folks.

it’s been almost a week and still broke?

Hey,

This is due to an update of the theTVDB’s api. When the plugin is getting the path of an image, if the “thumbmail” entry does not exists then it creats one by default.
banner_thumb = img_info.get('thumbnail', '_cache/%s' % banner_path)
“_cache/%s’ % banner_path” should be the default value if “thumbmail” entry does not exits.

But at the moment the theTVDB’s api always return a value for “thumbmail”, but it can be just an empty value.

You can fix it by modify the file /usr/lib/plexmediaserver/Resources/Plug-ins-XXXXX/TheTVDB.bundle/Contents/Code/_init_.py (on linux)
line 1128
change
banner_thumb = img_info.get('thumbnail', '_cache/%s' % banner_path)
with
banner_thumb = img_info.get('thumbnail', '_cache/%s' % banner_path)
if banner_thumb == '':
banner_thumb = '_cache/%s' % banner_path

Here a pastebin with the modified file pastebin.com/V1SsnuBP

If you are not sure about what you are doing, dont try it.
Dont forget to make a backup of your _init_.py file

@Kirua29 said:
Hey,

This is due to an update of the theTVDB’s api. When the plugin is getting the path of an image, if the “thumbmail” entry does not exists then it creats one by default.
banner_thumb = img_info.get('thumbnail', '_cache/%s' % banner_path)
“_cache/%s’ % banner_path” should be the default value if “thumbmail” entry does not exits.

But at the moment the theTVDB’s api always return a value for “thumbmail”, but it can be just an empty value.

You can fix it by modify the file /usr/lib/plexmediaserver/Resources/Plug-ins-XXXXX/TheTVDB.bundle/Contents/Code/_init_.py (on linux)
line 1128
change
banner_thumb = img_info.get('thumbnail', '_cache/%s' % banner_path)
with
banner_thumb = img_info.get('thumbnail', '_cache/%s' % banner_path)
if banner_thumb == '':
banner_thumb = '_cache/%s' % banner_path

Here a pastebin with the modified file pastebin.com/V1SsnuBP

If you are not sure about what you are doing, dont try it.
Dont forget to make a backup of your _init_.py file

Thanks Kirua29! This has solved it. (Although I had to restart plex for it to detect the changes)

@PixelBurst said:
Thanks Kirua29! This has solved it. (Although I had to restart plex for it to detect the changes)

No problem !
Currently there is another problem about the choice of the cover. It does not take the most beautiful. The TVDB’s API does not appear to return user notes. :confused:

Hey guys,

I downloaded the latest beta version for plex just now and reloaded all metadata for my series and now everything came back!
Seems like the latest beta updated, resolves this issue :slight_smile:

@“merdian.dennis@gmail.com” said:
Hey guys,

I downloaded the latest beta version for plex just now and reloaded all metadata for my series and now everything came back!
Seems like the latest beta updated, resolves this issue :slight_smile:

Experiencing the same issue here.
I found the following fix in the change notes for the new beta version you mentioned:
Fixes:
(Metadata) Missing artwork for some TV shows (#8473)

@“merdian.dennis@gmail.com” said:
Hey guys,

I downloaded the latest beta version for plex just now and reloaded all metadata for my series and now everything came back!
Seems like the latest beta updated, resolves this issue :slight_smile:

Experiencing the same issue here.
I found the following fix in the change notes for the new beta version you mentioned:
Fixes:
(Metadata) Missing artwork for some TV shows (#8473)

@zodd721 said:

@“merdian.dennis@gmail.com” said:
Hey guys,

I downloaded the latest beta version for plex just now and reloaded all metadata for my series and now everything came back!
Seems like the latest beta updated, resolves this issue :slight_smile:

Experiencing the same issue here.
I found the following fix in the change notes for the new beta version you mentioned:
Fixes:
(Metadata) Missing artwork for some TV shows (#8473)

Better fix for those with a Plex Pass so I’ll mark this as answered too.

Those of you like me without Plex Pass will have to deal with it, switch to moviedb, or make the changes required as in Kirua29’s post until the final release.

There’s a quick, backwoods style work-around as well

Go to TVDB, right click on poster, ‘save image as’ then drop it on the edit window:

It’s quick and dirty, but it’ll save having to hack things most people don’t know how to hack and it’ll save the pain and suffering of changing your TV Show Libraries to TMDB - that you’ll be changing back later when you find out it’s not the miracle cure you thought it was ('cause TMDB sucks for TV Shows).

Wow that was fast. Update is out that fixes this on main branch - case closed.