New provider system. Only for people right now

This commit is contained in:
Luke Pulverenti
2014-01-28 13:37:01 -05:00
parent d748967c5d
commit ad82c9f5e9
83 changed files with 3094 additions and 1746 deletions

View File

@@ -116,6 +116,12 @@ namespace MediaBrowser.Model.Dto
/// <value>The overview.</value>
public string Overview { get; set; }
/// <summary>
/// Gets or sets the name of the TMDB collection.
/// </summary>
/// <value>The name of the TMDB collection.</value>
public string TmdbCollectionName { get; set; }
/// <summary>
/// Gets or sets the taglines.
/// </summary>

View File

@@ -20,6 +20,17 @@ namespace MediaBrowser.Model.Entities
/// </summary>
public static class ProviderIdsExtensions
{
/// <summary>
/// Determines whether [has provider identifier] [the specified instance].
/// </summary>
/// <param name="instance">The instance.</param>
/// <param name="provider">The provider.</param>
/// <returns><c>true</c> if [has provider identifier] [the specified instance]; otherwise, <c>false</c>.</returns>
public static bool HasProviderId(this IHasProviderIds instance, MetadataProviders provider)
{
return !string.IsNullOrEmpty(instance.GetProviderId(provider.ToString()));
}
/// <summary>
/// Gets a provider id
/// </summary>

View File

@@ -12,9 +12,9 @@
public string Name { get; set; }
/// <summary>
/// Gets or sets the priority.
/// Gets or sets the order.
/// </summary>
/// <value>The priority.</value>
public int Priority { get; set; }
/// <value>The order.</value>
public int Order { get; set; }
}
}

View File

@@ -150,6 +150,11 @@ namespace MediaBrowser.Model.Querying
/// The tags
/// </summary>
Tags,
/// <summary>
/// The TMDB collection name
/// </summary>
TmdbCollectionName,
/// <summary>
/// The trailer url of the item