Kavita+ Overhaul & New Changelog (#3507)
This commit is contained in:
parent
d880c1690c
commit
a5707617f2
249 changed files with 14775 additions and 2300 deletions
|
@ -103,6 +103,17 @@ public class Series : IEntityDate, IHasReadTimeEstimate, IHasCoverImage
|
|||
public int MaxHoursToRead { get; set; }
|
||||
public float AvgHoursToRead { get; set; }
|
||||
|
||||
#region KavitaPlus
|
||||
/// <summary>
|
||||
/// Do not match the series with any external Metadata service. This will automatically opt it out of scrobbling.
|
||||
/// </summary>
|
||||
public bool DontMatch { get; set; }
|
||||
/// <summary>
|
||||
/// If the series was unable to match, it will be blacklisted until a manual metadata match overrides it
|
||||
/// </summary>
|
||||
public bool IsBlacklisted { get; set; }
|
||||
#endregion
|
||||
|
||||
public SeriesMetadata Metadata { get; set; } = null!;
|
||||
public ExternalSeriesMetadata ExternalSeriesMetadata { get; set; } = null!;
|
||||
|
||||
|
@ -151,4 +162,14 @@ public class Series : IEntityDate, IHasReadTimeEstimate, IHasCoverImage
|
|||
PrimaryColor = string.Empty;
|
||||
SecondaryColor = string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Is this Series capable of Scrobbling
|
||||
/// </summary>
|
||||
/// <remarks>This includes if there is no Match/Manual Match needed, the series is blacklisted, or has a NoMatch</remarks>
|
||||
/// <returns></returns>
|
||||
public bool WillScrobble()
|
||||
{
|
||||
return !IsBlacklisted && !DontMatch;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue