mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Added the option to select libaries to monitor in Jellyfin and Emby #2389
This commit is contained in:
parent
fc7df0e11b
commit
6d70010777
20 changed files with 249 additions and 85 deletions
|
@ -51,6 +51,10 @@ namespace Ombi.Helpers
|
|||
public async Task Purge()
|
||||
{
|
||||
var keys = await _memoryCache.GetAsync<List<string>>(CacheKey);
|
||||
if (keys == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
foreach (var key in keys)
|
||||
{
|
||||
base.Remove(key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue