Jump to content

Channel Plugin - What is AutoRefreshLevels


pünktchen

Recommended Posts

pünktchen

@@Luke i'm creating a plugin that should act like a calendar for tv show premiers in germany.

What's the purpose of AutoRefreshLevels and it's numbers and when should i implement IHasCacheKey?

Link to comment
Share on other sites

pünktchen

You would implement that if the standard 3 hour cache in the server is not ideal. I would check out the tunein plugin as an example:

https://github.com/MediaBrowser/TuneIn/blob/master/MediaBrowser.Plugins.TuneIn/TuneInChannel.cs

Maybe i'm blind, but i can't find any code where the cache timespan is defined in the tunein channel.
Link to comment
Share on other sites

pünktchen

Okay, so without the string there's no caching, with it's three hours and if i want more then i have to create a custom method. Correct?

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