jellyfin/MediaBrowser.Controller/Providers/ItemLookupInfo.cs

48 lines
1.5 KiB
C#
Raw Normal View History

2015-03-13 12:37:19 -07:00
using MediaBrowser.Model.Entities;
2014-01-28 22:17:58 -07:00
using System;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Providers
{
2014-02-06 20:10:13 -07:00
public class ItemLookupInfo : IHasProviderIds
2014-01-28 22:17:58 -07:00
{
2017-08-10 11:01:31 -07:00
protected static string[] EmptyStringArray = new string[] { };
2014-01-28 22:17:58 -07:00
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the metadata language.
/// </summary>
/// <value>The metadata language.</value>
public string MetadataLanguage { get; set; }
/// <summary>
/// Gets or sets the metadata country code.
/// </summary>
/// <value>The metadata country code.</value>
public string MetadataCountryCode { get; set; }
/// <summary>
/// Gets or sets the provider ids.
/// </summary>
/// <value>The provider ids.</value>
public Dictionary<string, string> ProviderIds { get; set; }
2014-01-30 14:23:54 -07:00
/// <summary>
/// Gets or sets the year.
/// </summary>
/// <value>The year.</value>
public int? Year { get; set; }
public int? IndexNumber { get; set; }
public int? ParentIndexNumber { get; set; }
2016-01-22 19:32:14 -07:00
public DateTime? PremiereDate { get; set; }
public bool IsAutomated { get; set; }
2014-01-28 22:17:58 -07:00
2014-02-06 20:10:13 -07:00
public ItemLookupInfo()
2014-01-28 22:17:58 -07:00
{
2016-01-22 19:32:14 -07:00
IsAutomated = true;
2014-01-28 22:17:58 -07:00
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
}
}