Some kind of fix for the cache issue, PLEASE

I would say it is tvdb but i just refreshed plex with their data for the show and it pulled the poster and everything that sonarr is missing. So i guess Sonarr is behind this time around. Its been over 24 hours as i am the one who added it last night in hopes it would show up at some point today so i could add it properly, but it only got about half of it while i was in process i guess and sonarr simply has not updated it since.

http://www.thetvdb.com/?tab=series&id=373663

There has to be some programatic way for your sync to be told to refresh a series besides posting here and waiting for 1 person to do all the leg work…

Skyhook attempts to force an update every 6 hours even if TheTVDB continues to say there wasn’t a change to avoid having to clear it manually; if we weren’t doing this we’d be manually updating series often and dealing with threads being opened often.

For this series this is what I saw (all times UTC) before it refreshed on it’s own:

Last Updated: 2019-12-11 23:33:46 (the last time there was actually a change)
Last Validated: 2019-12-13 00:39:43 (the last time Skyhook checked to see if there was an update)
Last Fetched: 2019-12-12 19:31:40 (the last time Skyhook forced an update even though TheTVDB said it wasn’t updated)

According to TheTVDB that series was last updated at 2019-12-12-23:25:00 (again, UTC), so after the last time it was validated, which means Skyhook should have seen it, but their API serves up aggressively cached responses requiring us to cache bust it ourselves.

What used to take up to 3 hours to refresh (between all the caching) is probably going to take 8+ hours because of what’s going on on their side and possibly much longer than that since you updated it yesterday and we’re only just now seeing things update.

Well whatever you did got the episodes to show, so that helped. Just not the poster, owell on that though lol

Thanks bud!

Side question, is there a way i can see this information to save you the time? I have no problem doing that.

Strange, I saw the poster in the response before I replied.

That info isn’t currently exposed anywhere.

This caching issue is honestly getting ridiculous. I added a new episode to the TVDB for Live from Lincoln Center about 20 hours ago, it still hasn’t shown up in Sonarr. I don’t know how that fits with forcing an update every 6 hours. Saying the TVDB is “aggressively caching” data is really just a polite way of saying it is serving up wrong data.

However: by contrast, after I eventually imported the episode manually, Plex downloaded the correct metadata immediately. The TVDB’s “aggressive caching” doesn’t seem to have affected Plex.

Is it possible to get updated TVDB data more quickly using whatever method Plex is using? If not, could you please expedite supporting TVMaze as an alternative provider, since the TVDB’s API is clearly no longer fit for purpose (except for whatever special API-fu Plex is using)?

Sure, but it’s actually hitting their cloudfront cache and continually serving up the same junk.

There are several layers of layers before it can hit Sonarr.

  1. Whatever generates TVDB’s API response
  2. TVDB cloudfront cache
  3. Skyhook
  4. Cloudflare in front Skyhook

In comparison Plex is likely using a different TVDB API version, which may not be suffering from the same caching issues, beyond that it’s an unknown.

This is not a short term plan, nor a small undertaking, we’re not going to prioritize it. We are contining to address the various issues with the TVDB’s API and move to their newer API.

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