You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/Emby.Server.Implementations/LiveTv/EmbyTV/SeriesTimerManager.cs

25 lines
653 B

#pragma warning disable CS1591
using System;
using MediaBrowser.Controller.LiveTv;
using Microsoft.Extensions.Logging;
namespace Emby.Server.Implementations.LiveTv.EmbyTV
{
public class SeriesTimerManager : ItemDataProvider<SeriesTimerInfo>
{
public SeriesTimerManager(ILogger logger, string dataPath)
: base(logger, dataPath, (r1, r2) => string.Equals(r1.Id, r2.Id, StringComparison.OrdinalIgnoreCase))
{
}
/// <inheritdoc />
public override void Add(SeriesTimerInfo item)
{
ArgumentException.ThrowIfNullOrEmpty(item.Id);
base.Add(item);
}
}
}