Remove 'General' as an ExternalIdMediaType, and instead use 'null' to represent a general external id type

This commit is contained in:
Mark Monteiro
2020-05-23 16:08:51 -04:00
parent 07897ec7af
commit 4f6e5591ec
12 changed files with 27 additions and 29 deletions

View File

@@ -22,11 +22,13 @@ namespace MediaBrowser.Controller.Providers
/// <summary>
/// Gets the specific media type for this id. This is used to distinguish between the different
/// external id types for providers with multiple ids.
/// A null value indicates there is no specific media type associated with the external id, or this is the
/// default id for the external provider so there is no need to specify a type.
/// </summary>
/// <remarks>
/// This can be used along with the <see cref="ProviderName"/> to localize the external id on the client.
/// </remarks>
ExternalIdMediaType Type { get; }
ExternalIdMediaType? Type { get; }
/// <summary>
/// Gets the URL format string for this id.