Added logic to get correct count of stale media, based on cutoff.

This commit is contained in:
2025-11-26 20:22:36 -07:00
parent a968b2d8dd
commit 252762297a
2 changed files with 79 additions and 10 deletions

View File

@@ -1,3 +1,6 @@
using System.Collections.Generic;
using System.Collections.ObjectModel;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Plugins;
namespace Jellyfin.Plugin.MediaCleaner.Configuration;
@@ -27,5 +30,5 @@ public class PluginConfiguration : BasePluginConfiguration
/// <summary>
/// Gets or sets the cut off days before deleting unwatched files.
/// </summary>
public int DaysUnwatched { get; set; } = 90;
public int StaleMediaCutoff { get; set; } = 90;
}