Jump to content

C# api to check if the server already has a cached tmdb image?


Recommended Posts

HawkXP71
Posted

For one of my reports in my plugin (I have a list of all missing episodes).  When I use the tmdb id to find out the list of episodes to compare it to what is on the server, when one is missing, I use the image path from tmdb.

Unfortunately, that of course puts a direct link in my plugins html to an outside source.  It works, but tmdb sometimes gives the "you asked too many times so no right now" response.

Many of these images are already on the server as season images.

Is there a way to specifically ask is tmdb image "XXXXX.png" cached on the server, and if so, what is the server based url for it?

Is there any way from the C# api, to say, Here is an image url to download and cache, and return the server url?
 

Posted

Hi, not really. you could have your plugin serve up the image and then have your api use our ihttpclient along with it's caching options to fetch it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...