f35abdefe5
* added Sonarr search type option * updated test data * fixed duplicated Sonarr search items when using search type Season * added enhanced logging option along with Sonarr and Radarr enhanced logs * switched to ghcr.io
21 lines
448 B
C#
21 lines
448 B
C#
namespace Domain.Models.Arr;
|
|
|
|
public sealed class SonarrSearchItem : SearchItem
|
|
{
|
|
public long SeriesId { get; set; }
|
|
|
|
public override bool Equals(object? obj)
|
|
{
|
|
if (obj is not SonarrSearchItem other)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
return Id == other.Id && SeriesId == other.SeriesId;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return HashCode.Combine(Id, SeriesId);
|
|
}
|
|
} |