Jump to content

Does the API allow for image fetching.


chef

Recommended Posts

chef

I was able to build a plugin channel which shows Showtimes of local theatres.

 

But I haven't any images for my items.

 

Does the API allow for image fetching? Or is that something I have to handle on my own?

 

Tmdb etc...

Link to comment
Share on other sites

All metadata fetching is handled with metadata fetchers.  Your plugin can provide whatever ones are needed for your types.  See the internal image fetchers for an example.

  • Like 1
Link to comment
Share on other sites

chef

I went through the different interfaces from the API library last night. I found : IHasImage and IDynamicImageProvider.

 

Am I looking in the right direction?

Edited by chef
Link to comment
Share on other sites

Your item would implement IHasImage and you should probably be looking at creating an IRemoteImageProvider - assuming your image is being fetched remotely.

  • Like 1
Link to comment
Share on other sites

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...