mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-23 10:34:43 +01:00
New provider system. Only for people right now
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user