Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cache time configurations #120

Merged
merged 8 commits into from
Mar 10, 2024

Conversation

scampower3
Copy link
Member

  • Adds ability to configure cache time in the plugin configuration page.

Comment on lines 50 to 52
private static int? CacheDurationInHours => TvdbPlugin.Instance?.Configuration.CacheDurationInHours;

private static int? CacheDurationInDays => TvdbPlugin.Instance?.Configuration.CacheDurationInDays;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just make these no nullable and clean up the rest of the code

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

@crobibero crobibero merged commit 2f03b60 into jellyfin:master Mar 10, 2024
4 checks passed
@scampower3 scampower3 deleted the cache-configurations branch March 11, 2024 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants