mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-05-19 07:18:58 -05:00
FF-1981: TV Show Lookup using cache
This commit is contained in:
@@ -10,20 +10,14 @@ public class Keyword : IEqualityComparer<Keyword>
|
||||
/// The keyword Id as identified by theMovieDB.org.
|
||||
/// </summary>
|
||||
[DataMember( Name = "id" )]
|
||||
[JsonPropertyName("id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The keyword.
|
||||
/// </summary>
|
||||
[DataMember( Name = "name" )]
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
public Keyword()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Keyword( int id, string name )
|
||||
{
|
||||
|
||||
@@ -170,8 +170,7 @@ public class TVShow
|
||||
/// Gets or sets the list of keywords associated with the TV show.
|
||||
/// </summary>
|
||||
[DataMember(Name = "keywords")]
|
||||
[JsonPropertyName("keywords")]
|
||||
public List<Keyword> Keywords { get; set; }
|
||||
public IReadOnlyCollection<Keyword> Keywords { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TVShow"/> class.
|
||||
|
||||
Reference in New Issue
Block a user