Remove 9 dead methods, 6 unused constants, and redundant ReaderWriterLockSlim from MetadataCache. Consolidate repeated patterns into HasChapters, IsPlayable, and ToLowerString helpers. Extract shared API methods in SRFApiClient. Move variant manifest rewriting from controller to StreamProxyService. Make Auto quality distinct from HD. Update README architecture section.
18 lines
553 B
C#
18 lines
553 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Jellyfin.Plugin.SRFPlay.Services.Interfaces;
|
|
|
|
/// <summary>
|
|
/// Interface for managing content expiration.
|
|
/// </summary>
|
|
public interface IContentExpirationService
|
|
{
|
|
/// <summary>
|
|
/// Checks for expired content and removes it from the library.
|
|
/// </summary>
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
/// <returns>The number of items removed.</returns>
|
|
Task<int> CheckAndRemoveExpiredContentAsync(CancellationToken cancellationToken);
|
|
}
|